Package eu.bandm.tools.lablog.xml
Class Element_a_tr.Choice_1_Alt_1
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.lablog.xml.Element_a_tr.Choice_1
eu.bandm.tools.lablog.xml.Element_a_tr.Choice_1_Alt_1
- All Implemented Interfaces:
Matchable<BaseMatcher>
,TypedContent
,Visitable<Visitor>
- Enclosing class:
- Element_a_tr
@Undocumented
public static class Element_a_tr.Choice_1_Alt_1
extends Element_a_tr.Choice_1
implements Visitable<Visitor>, Matchable<BaseMatcher>
Realizes te content model
(a:td)*,
which is the 1st alternative in the enclosing choice, realized by
Please note that there are no (sensible) constructors; use the overloaded
(a:td)*,
which is the 1st alternative in the enclosing choice, realized by
Element_a_tr.Choice_1
.
Please note that there are no (sensible) constructors; use the overloaded
alt(..)
factory methods in Element_a_tr.Choice_1
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_1_Alt_1
(Element_a_td... elems_1_a_td) Choice_1_Alt_1
(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
(package private) static Element_a_tr.Choice_1_Alt_1
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_a_tr.Choice_1_Alt_1,
Extension, TdomAttributeException> getElem_1_a_td
(int index) (package private) static TypedContent.ParsingConstructor<? extends Element_a_tr.Choice_1_Alt_1,
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_a_tr.Choice_1_Alt_1
parse
(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) static Element_a_tr.Choice_1_Alt_1
parse
(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_a_tr.Choice_1_Alt_1
semiparse
(Iterators.MultipleLookaheadIterator<? extends Element> i) void
set
(Element_a_td... elems_1_a_td) setElem_1_a_td
(int index, Element_a_td newElem_1_a_td) setElems_1_a_td
(Element_a_td... newElems_1_a_td) void
visitElems_1_a_td
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_a_td
in the content model of this.Methods inherited from class eu.bandm.tools.lablog.xml.Element_a_tr.Choice_1
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:
-
elems_1_a_td
Element_a_td[] elems_1_a_td
-
-
Constructor Details
-
Choice_1_Alt_1
-
Choice_1_Alt_1
Choice_1_Alt_1(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomAttributeException -
Choice_1_Alt_1
public Choice_1_Alt_1()
-
-
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_a_tr.Choice_1_Alt_1 decode(DecodingInputStream in, Extension ext) throws TdomContentException, IOException, TdomAttributeException -
__dumpElementSnapshot
- Overrides:
__dumpElementSnapshot
in classElement_a_tr.Choice_1
-
getElems_1_a_td
- Returns:
- (never null) an array of all items (never null) currently
contained in the 1st appearance of
Element_a_td
in the content model of this. This is directly the storage of the element's contents and all manipulations affect the element instance.
-
getElem_1_a_td
- Returns:
- (never null) the current value at the index position of the
1st appearance of
Element_a_td
in the content model of this. - Throws:
ArrayIndexOutOfBoundsException
-
countElems_1_a_td
public int countElems_1_a_td()- Returns:
- the current number of items in the 1st appearance of
Element_a_td
in the content model of this.
-
visitElems_1_a_td
Sends the visitor to all items currently contained in the 1st appearance ofElement_a_td
in the content model of this. -
setElem_1_a_td
- Parameters:
newElem_1_a_td
- (never null) new value at the given index position in the 1st appearance ofElement_a_td
in the content model of this.- Returns:
- (never null) the overwritten value.
- Throws:
IllegalArgumentException
- on attempt to set null value.IndexOutOfBoundsException
- if current array is not large enough.
-
setElems_1_a_td
- Parameters:
newElems_1_a_td
- (never null) an array of all values (never null) in the 1st appearance ofElement_a_td
in the content model of this.- Returns:
- (never null) an array of the overwritten values (never null).
- Throws:
IllegalArgumentException
- if the array is null, or a null value is contained therein .
-
parse
static Element_a_tr.Choice_1_Alt_1 parse(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomAttributeException -
getParseClosure
static TypedContent.ParsingConstructor<? extends Element_a_tr.Choice_1_Alt_1,Element, getParseClosure()Extension, TdomAttributeException> -
getDecodeClosure
static TypedContent.DecodingConstructor<? extends Element_a_tr.Choice_1_Alt_1,Extension, getDecodeClosure()TdomAttributeException> -
lookahead
-
parse
public static Element_a_tr.Choice_1_Alt_1 parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomXmlException, TdomAttributeException -
lookahead
static boolean lookahead(Iterators.MultipleLookaheadIterator<? extends Element> i, boolean optional) -
semiparse
static Element_a_tr.Choice_1_Alt_1 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_a_tr.Choice_1
-
identify
- Specified by:
identify
in interfaceMatchable<BaseMatcher>
- Overrides:
identify
in classElement_a_tr.Choice_1
-