public abstract class ContentSpec extends Object
FullDTDReader when parsing an DTD subset, and they
will be used for constructing actual validators for the element
content.| Modifier and Type | Field and Description |
|---|---|
protected char |
mArity |
| Constructor and Description |
|---|
ContentSpec(char arity) |
| Modifier and Type | Method and Description |
|---|---|
char |
getArity() |
abstract 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() |
abstract 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. |
void |
setArity(char c) |
public final char getArity()
public final void setArity(char c)
public boolean isLeaf()
public abstract StructValidator getSimpleValidator()
Copyright © 2012–2015 FasterXML. All rights reserved.