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