@User public abstract static class Element_rep.Choice_1 extends TypedChoice<Extension> implements Visitable<Visitor>, Matchable<BaseMatcher>
Element_rep
.
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_1(int altIndex) |
Modifier and Type | Method and Description |
---|---|
void |
__dumpElementSnapshot(List<TypedSubstantial<Extension>> list) |
static Element_rep.Choice_1 |
alt(Element_bool elem_1_bool)
Wrap the content sequence into an instance of the corresponding
subtype.
|
static Element_rep.Choice_1 |
alt(Element_enum elem_1_enum)
Wrap the content sequence into an instance of the corresponding
subtype.
|
static Element_rep.Choice_1 |
alt(Element_enumset elem_1_enumset)
Wrap the content sequence into an instance of the corresponding
subtype.
|
static Element_rep.Choice_1 |
alt(Element_float elem_1_float)
Wrap the content sequence into an instance of the corresponding
subtype.
|
static Element_rep.Choice_1 |
alt(Element_int elem_1_int)
Wrap the content sequence into an instance of the corresponding
subtype.
|
static Element_rep.Choice_1 |
alt(Element_rat elem_1_rat)
Wrap the content sequence into an instance of the corresponding
subtype.
|
static Element_rep.Choice_1 |
alt(Element_string elem_1_string)
Wrap the content sequence into an instance of the corresponding
subtype.
|
static Element_rep.Choice_1 |
alt(Element_uri elem_1_uri)
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.
|
boolean |
isAlt_3()
Returns whether current contents corrresponds to the 3rd alternative.
|
boolean |
isAlt_4()
Returns whether current contents corrresponds to the 4th alternative.
|
boolean |
isAlt_5()
Returns whether current contents corrresponds to the 5th alternative.
|
boolean |
isAlt_6()
Returns whether current contents corrresponds to the 6th alternative.
|
boolean |
isAlt_7()
Returns whether current contents corrresponds to the 7th alternative.
|
boolean |
isAlt_8()
Returns whether current contents corrresponds to the 8th alternative.
|
static Element_rep.Choice_1 |
parse(SAXEventStream in,
Extension ext,
TypedNode.ParseListener<Element> listener) |
void |
set() |
@Opt Element_rep.Choice_1_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_rep.Choice_1_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.
|
@Opt Element_rep.Choice_1_Alt_3 |
toAlt_3()
If the current contents corresponds to the 3rd alternative of the
underlying content model, then cast it accordingly, otherwise return
null.
|
@Opt Element_rep.Choice_1_Alt_4 |
toAlt_4()
If the current contents corresponds to the 4th alternative of the
underlying content model, then cast it accordingly, otherwise return
null.
|
@Opt Element_rep.Choice_1_Alt_5 |
toAlt_5()
If the current contents corresponds to the 5th alternative of the
underlying content model, then cast it accordingly, otherwise return
null.
|
@Opt Element_rep.Choice_1_Alt_6 |
toAlt_6()
If the current contents corresponds to the 6th alternative of the
underlying content model, then cast it accordingly, otherwise return
null.
|
@Opt Element_rep.Choice_1_Alt_7 |
toAlt_7()
If the current contents corresponds to the 7th alternative of the
underlying content model, then cast it accordingly, otherwise return
null.
|
@Opt Element_rep.Choice_1_Alt_8 |
toAlt_8()
If the current contents corresponds to the 8th 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_rep.Choice_1_Alt_1 toAlt_1()
@User public final boolean isAlt_2()
@User @Opt public final @Opt Element_rep.Choice_1_Alt_2 toAlt_2()
@User public final boolean isAlt_3()
@User @Opt public final @Opt Element_rep.Choice_1_Alt_3 toAlt_3()
@User public final boolean isAlt_4()
@User @Opt public final @Opt Element_rep.Choice_1_Alt_4 toAlt_4()
@User public final boolean isAlt_5()
@User @Opt public final @Opt Element_rep.Choice_1_Alt_5 toAlt_5()
@User public final boolean isAlt_6()
@User @Opt public final @Opt Element_rep.Choice_1_Alt_6 toAlt_6()
@User public final boolean isAlt_7()
@User @Opt public final @Opt Element_rep.Choice_1_Alt_7 toAlt_7()
@User public final boolean isAlt_8()
@User @Opt public final @Opt Element_rep.Choice_1_Alt_8 toAlt_8()
@User public static Element_rep.Choice_1 alt(Element_int elem_1_int)
IllegalArgumentException
- if any input to contents is null.@User public static Element_rep.Choice_1 alt(Element_float elem_1_float)
IllegalArgumentException
- if any input to contents is null.@User public static Element_rep.Choice_1 alt(Element_rat elem_1_rat)
IllegalArgumentException
- if any input to contents is null.@User public static Element_rep.Choice_1 alt(Element_bool elem_1_bool)
IllegalArgumentException
- if any input to contents is null.@User public static Element_rep.Choice_1 alt(Element_string elem_1_string)
IllegalArgumentException
- if any input to contents is null.@User public static Element_rep.Choice_1 alt(Element_uri elem_1_uri)
IllegalArgumentException
- if any input to contents is null.@User public static Element_rep.Choice_1 alt(Element_enum elem_1_enum)
IllegalArgumentException
- if any input to contents is null.@User public static Element_rep.Choice_1 alt(Element_enumset elem_1_enumset)
IllegalArgumentException
- if any input to contents is null.public static Element_rep.Choice_1 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 .