Package eu.bandm.tools.doctypes.xhtml
Class Element_head.Choice_2_Alt_1_Seq_1
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedNode<E>
eu.bandm.tools.tdom.runtime.TypedSubtree<Extension>
eu.bandm.tools.doctypes.xhtml.Element_head.Choice_2_Alt_1_Seq_1
- All Implemented Interfaces:
Matchable<BaseMatcher>
,TypedContent
,Visitable<Visitor>
- Enclosing class:
- Element_head
@Undocumented
public static class Element_head.Choice_2_Alt_1_Seq_1
extends TypedSubtree<Extension>
implements Visitable<Visitor>, Matchable<BaseMatcher>
-
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
Modifier and TypeFieldDescription(package private) Element_head.Choice_2_Alt_1_Seq_1_Choice_1[]
(package private) Element_base
-
Constructor Summary
ConstructorDescriptionChoice_2_Alt_1_Seq_1
(Element_base elem_1_base, Element_head.Choice_2_Alt_1_Seq_1_Choice_1... choices_1) Statically typed w.r.t. the contents, as far as possible.Choice_2_Alt_1_Seq_1
(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
(package private) static Element_head.Choice_2_Alt_1_Seq_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.getChoice_1
(int index) (package private) static TypedContent.DecodingConstructor<? extends Element_head.Choice_2_Alt_1_Seq_1,
Extension, TdomAttributeException> (package private) static TypedContent.ParsingConstructor<? extends Element_head.Choice_2_Alt_1_Seq_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_head.Choice_2_Alt_1_Seq_1
parse
(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) parse
(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_head.Choice_2_Alt_1_Seq_1
parseOptional
(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_head.Choice_2_Alt_1_Seq_1[]
parsePlus
(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_head.Choice_2_Alt_1_Seq_1[]
parseStar
(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_head.Choice_2_Alt_1_Seq_1
semiparse
(Iterators.MultipleLookaheadIterator<? extends Element> i) (package private) static @Opt Element_head.Choice_2_Alt_1_Seq_1
semiparseOptional
(Iterators.MultipleLookaheadIterator<? extends Element> i) (package private) static Element_head.Choice_2_Alt_1_Seq_1[]
semiparsePlus
(Iterators.MultipleLookaheadIterator<? extends Element> i) (package private) static Element_head.Choice_2_Alt_1_Seq_1[]
semiparseStar
(Iterators.MultipleLookaheadIterator<? extends Element> i) void
set
(Element_base elem_1_base, Element_head.Choice_2_Alt_1_Seq_1_Choice_1... choices_1) setChoice_1
(int index, Element_head.Choice_2_Alt_1_Seq_1_Choice_1 newChoice_1) setChoices_1
(Element_head.Choice_2_Alt_1_Seq_1_Choice_1... newChoices_1) setElem_1_base
(Element_base newElem_1_base) void
visitChoices_1
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_head.Choice_2_Alt_1_Seq_1_Choice_1
in the content model of this.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
-
elem_1_base
Element_base elem_1_base -
choices_1
Element_head.Choice_2_Alt_1_Seq_1_Choice_1[] choices_1
-
-
Constructor Details
-
Choice_2_Alt_1_Seq_1
@Undocumented public Choice_2_Alt_1_Seq_1(Element_base elem_1_base, Element_head.Choice_2_Alt_1_Seq_1_Choice_1... choices_1) Statically typed w.r.t. the contents, as far as possible. So aTdomContentException
can not occur.- Throws:
IllegalArgumentException
- if any input to contents is null.
-
Choice_2_Alt_1_Seq_1
Choice_2_Alt_1_Seq_1(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomAttributeException
-
-
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_head.Choice_2_Alt_1_Seq_1 decode(DecodingInputStream in, Extension ext) throws TdomContentException, TdomAttributeException, IOException -
__dumpElementSnapshot
-
parse
static Element_head.Choice_2_Alt_1_Seq_1 parse(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomAttributeException -
getElem_1_base
- Returns:
- (never null) the current value of the 1st appearance of
Element_base
in the content model of this.
-
setElem_1_base
- Parameters:
newElem_1_base
- (never null) new value for the 1st appearance ofElement_base
in the content model of this.- Returns:
- (never null) the overwritten value.
- Throws:
IllegalArgumentException
- in case of null.
-
getChoices_1
- Returns:
- (never null) an array of all items (never null) currently
contained in the 1st appearance of
Element_head.Choice_2_Alt_1_Seq_1_Choice_1
in the content model of this. This is directly the storage of the element's contents and all manipulations affect the element instance.
-
getChoice_1
- Returns:
- (never null) the current value at the index position of the 1st
appearance of
Element_head.Choice_2_Alt_1_Seq_1_Choice_1
in the content model of this. - Throws:
ArrayIndexOutOfBoundsException
-
countChoices_1
public int countChoices_1()- Returns:
- the current number of items in the 1st appearance of
Element_head.Choice_2_Alt_1_Seq_1_Choice_1
in the content model of this.
-
visitChoices_1
Sends the visitor to all items currently contained in the 1st appearance ofElement_head.Choice_2_Alt_1_Seq_1_Choice_1
in the content model of this. -
setChoice_1
@Undocumented public Element_head.Choice_2_Alt_1_Seq_1_Choice_1 setChoice_1(int index, Element_head.Choice_2_Alt_1_Seq_1_Choice_1 newChoice_1) - Parameters:
newChoice_1
- (never null) new value at the given index position in the 1st appearance ofElement_head.Choice_2_Alt_1_Seq_1_Choice_1
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.
-
setChoices_1
@Undocumented public Element_head.Choice_2_Alt_1_Seq_1_Choice_1[] setChoices_1(Element_head.Choice_2_Alt_1_Seq_1_Choice_1... newChoices_1) - Parameters:
newChoices_1
- (never null) an array of all values (never null) in the 1st appearance ofElement_head.Choice_2_Alt_1_Seq_1_Choice_1
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 .
-
getParseClosure
static TypedContent.ParsingConstructor<? extends Element_head.Choice_2_Alt_1_Seq_1,Element, getParseClosure()Extension, TdomAttributeException> -
getDecodeClosure
static TypedContent.DecodingConstructor<? extends Element_head.Choice_2_Alt_1_Seq_1,Extension, getDecodeClosure()TdomAttributeException> -
parseStar
static Element_head.Choice_2_Alt_1_Seq_1[] parseStar(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomXmlException, TdomAttributeException -
parsePlus
static Element_head.Choice_2_Alt_1_Seq_1[] parsePlus(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomXmlException, TdomAttributeException -
parseOptional
static Element_head.Choice_2_Alt_1_Seq_1 parseOptional(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomXmlException, TdomAttributeException -
lookahead
-
parse
public static Element_head.Choice_2_Alt_1_Seq_1 parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomXmlException, TdomAttributeException -
semiparseStar
static Element_head.Choice_2_Alt_1_Seq_1[] semiparseStar(Iterators.MultipleLookaheadIterator<? extends Element> i) throws TdomContentException - Throws:
TdomContentException
-
semiparsePlus
static Element_head.Choice_2_Alt_1_Seq_1[] semiparsePlus(Iterators.MultipleLookaheadIterator<? extends Element> i) throws TdomContentException - Throws:
TdomContentException
-
semiparseOptional
@Opt static @Opt Element_head.Choice_2_Alt_1_Seq_1 semiparseOptional(Iterators.MultipleLookaheadIterator<? extends Element> i) throws TdomContentException - Throws:
TdomContentException
-
lookahead
static boolean lookahead(Iterators.MultipleLookaheadIterator<? extends Element> i, boolean optional) -
semiparse
static Element_head.Choice_2_Alt_1_Seq_1 semiparse(Iterators.MultipleLookaheadIterator<? extends Element> i) throws TdomContentException - Throws:
TdomContentException
-
host
Description copied from interface:Visitable
Send the visitor to this instance. -
identify
- Specified by:
identify
in interfaceMatchable<BaseMatcher>
-