@User public abstract class TypedChoice<E extends TypedExtension> extends TypedSubtree<E>
... , (a|b|c), ...
in
the underlying DTD.
TypedNode.ParseListener<E extends TypedElement<?,?>>
TypedContent.DecodingConstructor<C extends TypedContent,X extends TypedExtension,Y extends Exception>, TypedContent.ParsingConstructor<C extends TypedContent,E extends TypedElement<E,X>,X extends TypedExtension,Y extends Exception>
Modifier and Type | Field and Description |
---|---|
protected int |
altIndex |
Modifier | Constructor and Description |
---|---|
protected |
TypedChoice(int altIndex)
Create an instance of a subclass and set its "case identifying" index.
|
Modifier and Type | Method and Description |
---|---|
int |
getAltIndex()
Gets the index number of an instance of a subclass.
|
asBigDecimal, asBigDecimal, asBigDecimal, asBigDecimal, asBigInteger, asBigInteger, asBigInteger, asBigInteger, asBoolean, asBoolean, asDouble, asDouble, asDouble, asDouble, asFloat, asFloat, asFloat, asFloat, asHexInt, asHexInt, asHexInt, asHexInt, asInt, asInt, asInt, asInt, asLong, asLong, asLong, asLong, asTrimmedString, asTrimmedString, asTrimmedString, asTrimmedString, checkPlus, checkPlus, checkStar, checkStar, checkStrict, encode, encode, encodeOptional, encodePlus, encodePlus, encodeStar, encodeStar, extractEthereals, getLocation, getPCData, setLocation, setLocation, setLocation
@User protected TypedChoice(int altIndex)
@User public final int getAltIndex()
see also the complete user documentation .