Package eu.bandm.tools.option.absy
Class Element_testgreater.Choice_2_Alt_2
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedNode<E>
eu.bandm.tools.tdom.runtime.TypedSubtree<E>
eu.bandm.tools.tdom.runtime.TypedChoice<Extension>
eu.bandm.tools.option.absy.Element_testgreater.Choice_2
eu.bandm.tools.option.absy.Element_testgreater.Choice_2_Alt_2
- All Implemented Interfaces:
Matchable<BaseMatcher>
,TypedContent
,Visitable<Visitor>
- Enclosing class:
- Element_testgreater
@Undocumented
public static class Element_testgreater.Choice_2_Alt_2
extends Element_testgreater.Choice_2
implements Visitable<Visitor>, Matchable<BaseMatcher>
Realizes te content model
optarg,
which is the 2nd alternative in the enclosing choice, realized by
Please note that there are no (sensible) constructors; use the overloaded
optarg,
which is the 2nd alternative in the enclosing choice, realized by
Element_testgreater.Choice_2
.
Please note that there are no (sensible) constructors; use the overloaded
alt(..)
factory methods in Element_testgreater.Choice_2
instead.-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedNode
TypedNode.ParseListener<E extends TypedElement<?,
?>> Nested classes/interfaces inherited from interface eu.bandm.tools.tdom.runtime.TypedContent
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> -
Field Summary
Fields inherited from class eu.bandm.tools.tdom.runtime.TypedChoice
altIndex
-
Constructor Summary
ConstructorDescriptionChoice_2_Alt_2
(Element_optarg elem_1_optarg) Choice_2_Alt_2
(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
(package private) static Element_testgreater.Choice_2_Alt_2
decode
(DecodingInputStream in, Extension ext) final void
encode
(EncodingOutputStream out, Extension ext) Abstract fall-back method which MUST be overridden and always throws an Exception.(package private) static TypedContent.DecodingConstructor<? extends Element_testgreater.Choice_2_Alt_2,
Extension, TdomAttributeException> (package private) static TypedContent.ParsingConstructor<? extends Element_testgreater.Choice_2_Alt_2,
Element, Extension, TdomAttributeException> void
Send the visitor to this instance.void
identify
(BaseMatcher matcher) (package private) static boolean
lookahead
(Iterators.MultipleLookaheadIterator<? extends Element> i, boolean optional) (package private) static boolean
lookahead
(SAXEventStream in, Extension ext, boolean optional) (package private) static Element_testgreater.Choice_2_Alt_2
parse
(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) parse
(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_testgreater.Choice_2_Alt_2
semiparse
(Iterators.MultipleLookaheadIterator<? extends Element> i) void
set
(Element_optarg elem_1_optarg) setElem_1_optarg
(Element_optarg newElem_1_optarg) Methods inherited from class eu.bandm.tools.option.absy.Element_testgreater.Choice_2
alt, alt, isAlt_1, isAlt_2, parseOptional, parsePlus, parseStar, semiparseOptional, semiparsePlus, semiparseStar, set, toAlt_1, toAlt_2
Methods inherited from class eu.bandm.tools.tdom.runtime.TypedChoice
getAltIndex
Methods inherited from class eu.bandm.tools.tdom.runtime.TypedNode
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, encodeOptional, encodePlus, encodePlus, encodeStar, encodeStar, extractEthereals, getLocation, getPCData, setLocation, setLocation, setLocation
-
Field Details
-
ALT_INDEX
public static final int ALT_INDEX- See Also:
-
elem_1_optarg
Element_optarg elem_1_optarg
-
-
Constructor Details
-
Choice_2_Alt_2
-
Choice_2_Alt_2
Choice_2_Alt_2(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomAttributeException, TdomContentException
-
-
Method Details
-
set
-
encode
Description copied from class:TypedNode
Abstract fall-back method which MUST be overridden and always throws an Exception.- Specified by:
encode
in classTypedNode<Extension>
- Throws:
IOException
-
decode
static Element_testgreater.Choice_2_Alt_2 decode(DecodingInputStream in, Extension ext) throws TdomAttributeException, IOException, TdomContentException -
__dumpElementSnapshot
- Overrides:
__dumpElementSnapshot
in classElement_testgreater.Choice_2
-
getElem_1_optarg
- Returns:
- (never null) the current value of the 1st appearance of
Element_optarg
in the content model of this.
-
setElem_1_optarg
- Parameters:
newElem_1_optarg
- (never null) new value for the 1st appearance ofElement_optarg
in the content model of this.- Returns:
- (never null) the overwritten value.
- Throws:
IllegalArgumentException
- in case of null.
-
parse
static Element_testgreater.Choice_2_Alt_2 parse(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomAttributeException, TdomContentException -
getParseClosure
static TypedContent.ParsingConstructor<? extends Element_testgreater.Choice_2_Alt_2,Element, getParseClosure()Extension, TdomAttributeException> -
getDecodeClosure
static TypedContent.DecodingConstructor<? extends Element_testgreater.Choice_2_Alt_2,Extension, getDecodeClosure()TdomAttributeException> -
lookahead
-
parse
public static Element_testgreater.Choice_2_Alt_2 parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomXmlException, TdomAttributeException, TdomContentException -
lookahead
static boolean lookahead(Iterators.MultipleLookaheadIterator<? extends Element> i, boolean optional) -
semiparse
static Element_testgreater.Choice_2_Alt_2 semiparse(Iterators.MultipleLookaheadIterator<? extends Element> i) throws TdomContentException - Throws:
TdomContentException
-
host
Description copied from interface:Visitable
Send the visitor to this instance.- Specified by:
host
in interfaceVisitable<Visitor>
- Overrides:
host
in classElement_testgreater.Choice_2
-
identify
- Specified by:
identify
in interfaceMatchable<BaseMatcher>
- Overrides:
identify
in classElement_testgreater.Choice_2
-