public class EmptyValidator extends StructValidator
Modifier and Type | Method and Description |
---|---|
String |
fullyValid()
If we ever get as far as element closing, things are all good;
can just return null.
|
static EmptyValidator |
getEmptyInstance() |
static EmptyValidator |
getPcdataInstance() |
StructValidator |
newInstance()
Simple; can always (re)use instance itself; no state information
is kept.
|
String |
tryToValidate(PrefixedName elemName)
Method called when a new (start) element is encountered within the
scope of parent element this validator monitors.
|
public static EmptyValidator getPcdataInstance()
public static EmptyValidator getEmptyInstance()
public StructValidator newInstance()
newInstance
in class StructValidator
public String tryToValidate(PrefixedName elemName)
StructValidator
tryToValidate
in class StructValidator
public String fullyValid()
fullyValid
in class StructValidator
Copyright © 2018 FasterXML. All rights reserved.