public class ChoiceContentSpec extends ContentSpec
mArity
Modifier and Type | Method and Description |
---|---|
static ChoiceContentSpec |
constructChoice(boolean nsAware,
char arity,
Collection specs) |
static ChoiceContentSpec |
constructMixed(boolean nsAware,
Collection specs) |
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.
|
protected static PrefixedNameSet |
namesetFromSpecs(boolean nsAware,
ContentSpec[] specs) |
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. |
String |
toString() |
getArity, isLeaf, setArity
public static ChoiceContentSpec constructChoice(boolean nsAware, char arity, Collection specs)
public static ChoiceContentSpec constructMixed(boolean nsAware, Collection specs)
public StructValidator getSimpleValidator()
ContentSpec
getSimpleValidator
in class ContentSpec
public ModelNode rewrite()
ContentSpec
ModelNode
instances that will
match definition this instance contains.rewrite
in class ContentSpec
protected static PrefixedNameSet namesetFromSpecs(boolean nsAware, ContentSpec[] specs)
Copyright © 2015 Codehaus. All Rights Reserved.