public class ContentModel extends Object
Constructor and Description |
---|
ContentModel(String m)
Creates a new instance of the class
|
Modifier and Type | Method and Description |
---|---|
NameChoiceSeq |
getChoiceOrSeq()
Returns the choice-or-sequence child.
|
Vector |
getKids()
Returns the Vector of allowed child elements; only meaningful when spec is "mixed".
|
Iterator |
getKidsIter()
If spec is "mixed" or "element", this returns an iterator over all of the child
element names (not Element objects).
|
String |
getMinifiedModel()
Returns the minified model string
|
String |
getSpec()
Returns the spec; one of "any", "empty", "text", "mixed", or "element".
|
public ContentModel(String m)
m
- Content model, minified version (whitespace removed)public String getMinifiedModel()
public String getSpec()
public Vector getKids()
public NameChoiceSeq getChoiceOrSeq()
public Iterator getKidsIter()