public class SeqContentSpec extends ContentSpec
mArity| Constructor and Description |
|---|
SeqContentSpec(boolean nsAware,
char arity,
ContentSpec[] subSpecs) |
| Modifier and Type | Method and Description |
|---|---|
static SeqContentSpec |
construct(boolean nsAware,
char arity,
Collection<ContentSpec> subSpecs) |
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.
|
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, setAritypublic SeqContentSpec(boolean nsAware,
char arity,
ContentSpec[] subSpecs)
public static SeqContentSpec construct(boolean nsAware, char arity, Collection<ContentSpec> subSpecs)
public StructValidator getSimpleValidator()
ContentSpecgetSimpleValidator in class ContentSpecpublic ModelNode rewrite()
ContentSpecModelNode instances that will
match definition this instance contains.rewrite in class ContentSpecCopyright © 2012–2015 FasterXML. All rights reserved.