|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ctc.wstx.dtd.StructValidator
com.ctc.wstx.dtd.DFAValidator
public final class DFAValidator
Validator class that is based on a DFA constructed from DTD content specification.
| Constructor Summary | |
|---|---|
DFAValidator(DFAState initialState)
|
|
| Method Summary | |
|---|---|
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. |
String |
tryToValidate(PrefixedName elemName)
Method called when a new (start) element is encountered within the scope of parent element this validator monitors. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DFAValidator(DFAState initialState)
| Method Detail |
|---|
public StructValidator newInstance()
StructValidator
newInstance in class StructValidatorpublic String tryToValidate(PrefixedName elemName)
StructValidator
tryToValidate in class StructValidatorpublic String fullyValid()
StructValidator
fullyValid in class StructValidator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||