public class ChoiceContentSpec extends ContentSpec
mArity| Modifier and Type | Method and Description | 
|---|---|
| static ChoiceContentSpec | constructChoice(boolean nsAware,
               char arity,
               Collection<ContentSpec> specs) | 
| static ChoiceContentSpec | constructMixed(boolean nsAware,
              Collection<ContentSpec> 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  ModelNodeinstances that will
 match definition this instance contains. | 
| String | toString() | 
getArity, isLeaf, setAritypublic static ChoiceContentSpec constructChoice(boolean nsAware, char arity, Collection<ContentSpec> specs)
public static ChoiceContentSpec constructMixed(boolean nsAware, Collection<ContentSpec> specs)
public StructValidator getSimpleValidator()
ContentSpecgetSimpleValidator in class ContentSpecpublic ModelNode rewrite()
ContentSpecModelNode instances that will
 match definition this instance contains.rewrite in class ContentSpecprotected static PrefixedNameSet namesetFromSpecs(boolean nsAware, ContentSpec[] specs)
Copyright © 2018 FasterXML. All rights reserved.