public final class DFAValidator extends StructValidator
Constructor and Description |
---|
DFAValidator(DFAState initialState) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fullyValid()
Method called when the end element of the scope this validator
validates is encountered.
|
StructValidator |
newInstance()
Method that should be called to get the actual usable validator
instance, from the 'template' validator.
|
java.lang.String |
tryToValidate(NameKey elemName)
Method called when a new (start) element is encountered within the
scope of parent element this validator monitors.
|
public DFAValidator(DFAState initialState)
public StructValidator newInstance()
StructValidator
newInstance
in class StructValidator
public java.lang.String tryToValidate(NameKey elemName)
StructValidator
tryToValidate
in class StructValidator
public java.lang.String fullyValid()
StructValidator
fullyValid
in class StructValidator