public class TokenContentSpec extends ContentSpec
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
TokenContentSpec.Validator |
| Modifier and Type | Field and Description |
|---|---|
(package private) PrefixedName |
mElemName |
(package private) static TokenContentSpec |
sDummy |
mArity| Constructor and Description |
|---|
TokenContentSpec(char arity,
PrefixedName elemName) |
| Modifier and Type | Method and Description |
|---|---|
static TokenContentSpec |
construct(char arity,
PrefixedName elemName) |
static TokenContentSpec |
getDummySpec() |
PrefixedName |
getName() |
StructValidator |
getSimpleValidator()
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.
|
boolean |
isLeaf() |
ModelNode |
rewrite()
Method called as the first part of DFA construction, if necessary;
will usually create simpler
ModelNode instances that will
match definition this instance contains. |
java.lang.String |
toString() |
getArity, setAritystatic final TokenContentSpec sDummy
final PrefixedName mElemName
public TokenContentSpec(char arity,
PrefixedName elemName)
public static TokenContentSpec construct(char arity, PrefixedName elemName)
public static TokenContentSpec getDummySpec()
public boolean isLeaf()
isLeaf in class ContentSpecpublic PrefixedName getName()
public StructValidator getSimpleValidator()
ContentSpecgetSimpleValidator in class ContentSpecpublic ModelNode rewrite()
ContentSpecModelNode instances that will
match definition this instance contains.rewrite in class ContentSpecpublic java.lang.String toString()
toString in class java.lang.Object