| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final PrefixedName | |
| pack-priv static final TokenContentSpec |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static TokenContentSpec | |
| public static TokenContentSpec | |
| public PrefixedName | |
| public StructValidator | getSimpleValidator()
Implements abstract com. Method called by input element stack to get validator for this content specification, if this specification is simple enough not to need full DFA-based validator. |
| public boolean | |
| public ModelNode | rewrite()
Implements abstract com. Method called as the first part of DFA construction, if necessary;
will usually create simpler |
| public String |
| mElemName | back to summary |
|---|---|
| pack-priv final PrefixedName mElemName | |
| sDummy | back to summary |
|---|---|
| pack-priv static final TokenContentSpec sDummy | |
| TokenContentSpec | back to summary |
|---|---|
| public TokenContentSpec(char arity, PrefixedName elemName) | |
| construct | back to summary |
|---|---|
| public static TokenContentSpec construct(char arity, PrefixedName elemName) | |
| getDummySpec | back to summary |
|---|---|
| public static TokenContentSpec getDummySpec() | |
| getName | back to summary |
|---|---|
| public PrefixedName getName() | |
| getSimpleValidator | back to summary |
|---|---|
| public StructValidator getSimpleValidator() Implements abstract com. Doc from com. Method called by input element stack to get validator for this content specification, if this specification is simple enough not to need full DFA-based validator.
| |
| isLeaf | back to summary |
|---|---|
| public boolean isLeaf() Overrides com.
| |
| rewrite | back to summary |
|---|---|
| public ModelNode rewrite() Implements abstract com. Doc from com. Method called as the first part of DFA construction, if necessary;
will usually create simpler
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final char | |
| pack-priv int | |
| pack-priv final PrefixedName |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | fullyValid()
Implements abstract com. Method called when the end element of the scope this validator validates is encountered. |
| public StructValidator | newInstance()
Implements abstract com. Rules for reuse are simple: if we can have any number of repetitions, we can just use a shared root instance. |
| public String | tryToValidate(PrefixedName elemName)
Implements abstract com. Method called when a new (start) element is encountered within the scope of parent element this validator monitors. |
| mArity | back to summary |
|---|---|
| pack-priv final char mArity | |
| mCount | back to summary |
|---|---|
| pack-priv int mCount | |
| mElemName | back to summary |
|---|---|
| pack-priv final PrefixedName mElemName | |
| Validator | back to summary |
|---|---|
| public Validator(char arity, PrefixedName elemName) | |
| fullyValid | back to summary |
|---|---|
| public String fullyValid() Implements abstract com. Doc from com. Method called when the end element of the scope this validator validates is encountered. It should make sure that the content model is valid, and if not, to construct an error message. | |
| newInstance | back to summary |
|---|---|
| public StructValidator newInstance() Implements abstract com. Rules for reuse are simple: if we can have any number of repetitions, we can just use a shared root instance. Although its count variable will get updated this doesn't really matter as it won't be used. Otherwise a new instance has to be created always, to keep track of instance counts.
| |
| tryToValidate | back to summary |
|---|---|
| public String tryToValidate(PrefixedName elemName) Implements abstract com. Doc from com. Method called when a new (start) element is encountered within the scope of parent element this validator monitors. | |