@User public abstract static class Element_testgreater.Choice_2 extends TypedChoice<Extension> implements Visitable<Visitor>, Matchable<BaseMatcher>
Element_testgreater
.
alt(..)
factory methods instead, to construct an
instance of the appropriate subclass.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>
altIndex
Constructor and Description |
---|
Choice_2(int altIndex) |
Modifier and Type | Method and Description |
---|---|
void |
__dumpElementSnapshot(List<TypedSubstantial<Extension>> list) |
static Element_testgreater.Choice_2 |
alt(Element_constant elem_1_constant)
Wrap the content sequence into an instance of the corresponding
subtype.
|
static Element_testgreater.Choice_2 |
alt(Element_optarg elem_1_optarg)
Wrap the content sequence into an instance of the corresponding
subtype.
|
void |
host(Visitor visitor)
Send the visitor to this instance.
|
void |
identify(BaseMatcher matcher) |
boolean |
isAlt_1()
Returns whether current contents corrresponds to the 1st alternative.
|
boolean |
isAlt_2()
Returns whether current contents corrresponds to the 2nd alternative.
|
static Element_testgreater.Choice_2 |
parse(SAXEventStream in,
Extension ext,
TypedNode.ParseListener<Element> listener) |
void |
set() |
@Opt Element_testgreater.Choice_2_Alt_1 |
toAlt_1()
If the current contents corresponds to the 1st alternative of the
underlying content model, then cast it accordingly, otherwise return
null.
|
@Opt Element_testgreater.Choice_2_Alt_2 |
toAlt_2()
If the current contents corresponds to the 2nd alternative of the
underlying content model, then cast it accordingly, otherwise return
null.
|
getAltIndex
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
public void set()
public void __dumpElementSnapshot(List<TypedSubstantial<Extension>> list)
@User public final boolean isAlt_1()
@User @Opt public final @Opt Element_testgreater.Choice_2_Alt_1 toAlt_1()
@User public final boolean isAlt_2()
@User @Opt public final @Opt Element_testgreater.Choice_2_Alt_2 toAlt_2()
@User public static Element_testgreater.Choice_2 alt(Element_constant elem_1_constant)
IllegalArgumentException
- if any input to contents is null.@User public static Element_testgreater.Choice_2 alt(Element_optarg elem_1_optarg)
IllegalArgumentException
- if any input to contents is null.public static Element_testgreater.Choice_2 parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomAttributeException, TdomContentException, TdomXmlException
public void host(Visitor visitor)
Visitable
public void identify(BaseMatcher matcher)
identify
in interface Matchable<BaseMatcher>
see also the complete user documentation .