public static class ContentMapping.Sequence extends ContentMapping
ContentMapping.Choice, ContentMapping.Empty, ContentMapping.Sequence, ContentMapping.Singleton
Constructor and Description |
---|
Sequence(ContentMapping[] elems,
eu.bandm.tools.tdom.runtime.ContentPath path) |
Modifier and Type | Method and Description |
---|---|
int |
countElems() |
ContentMapping |
getElem(int index) |
ContentMapping[] |
getElems() |
ContentMapping |
getOptional() |
boolean |
hasOptional() |
String |
toString() |
getAlt, getChild, getIndex, getPath
public Sequence(ContentMapping[] elems, eu.bandm.tools.tdom.runtime.ContentPath path)
public ContentMapping[] getElems()
getElems
in class ContentMapping
public ContentMapping getElem(int index)
getElem
in class ContentMapping
public int countElems()
countElems
in class ContentMapping
public boolean hasOptional()
hasOptional
in class ContentMapping
public ContentMapping getOptional()
getOptional
in class ContentMapping
see also the complete user documentation .