Package eu.bandm.tools.option.absy
Class Element_or.Choice_1_Alt_4
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedNode<Extension>
eu.bandm.tools.tdom.runtime.TypedSubtree<Extension>
eu.bandm.tools.tdom.runtime.TypedChoice<Extension>
eu.bandm.tools.option.absy.Element_or.Choice_1
eu.bandm.tools.option.absy.Element_or.Choice_1_Alt_4
- All Implemented Interfaces:
Matchable<BaseMatcher>,TypedContent,Visitable<Visitor>
- Enclosing class:
Element_or
@Undocumented
public static class Element_or.Choice_1_Alt_4
extends Element_or.Choice_1
implements Visitable<Visitor>, Matchable<BaseMatcher>
Realizes te content model
Please note that there are no (sensible) constructors; use the overloaded
not
which is the 4th alternative in the enclosing choice, realized by
Element_or.Choice_1.
Please note that there are no (sensible) constructors; use the overloaded
alt(..) factory methods in Element_or.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
FieldsFields inherited from class eu.bandm.tools.tdom.runtime.TypedChoice
altIndex -
Constructor Summary
ConstructorsConstructorDescriptionChoice_1_Alt_4(Element_not elem_1_not) Choice_1_Alt_4(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) -
Method Summary
Modifier and TypeMethodDescriptionvoid(package private) static Element_or.Choice_1_Alt_4decode(DecodingInputStream in, Extension ext) final voidencode(EncodingOutputStream out, Extension ext) Abstract fall-back method which MUST be overridden and always throws an Exception.(package private) static TypedContent.DecodingConstructor<? extends Element_or.Choice_1_Alt_4, Extension, TdomAttributeException> (package private) static TypedContent.ParsingConstructor<? extends Element_or.Choice_1_Alt_4, Element, Extension, TdomAttributeException> voidSend the visitor to this instance.voididentify(BaseMatcher matcher) (package private) static booleanlookahead(Iterators.MultipleLookaheadIterator<? extends Element> i, boolean optional) (package private) static booleanlookahead(SAXEventStream in, Extension ext, boolean optional) (package private) static Element_or.Choice_1_Alt_4parse(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) static Element_or.Choice_1_Alt_4parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_or.Choice_1_Alt_4semiparse(Iterators.MultipleLookaheadIterator<? extends Element> i) voidset(Element_not elem_1_not) setElem_1_not(Element_not newElem_1_not) Methods inherited from class eu.bandm.tools.option.absy.Element_or.Choice_1
alt, alt, alt, alt, isAlt_1, isAlt_2, isAlt_3, isAlt_4, parseOptional, parsePlus, parseStar, semiparseOptional, semiparsePlus, semiparseStar, set, toAlt_1, toAlt_2, toAlt_3, toAlt_4Methods inherited from class eu.bandm.tools.tdom.runtime.TypedChoice
getAltIndexMethods 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_not
Element_not elem_1_not
-
-
Constructor Details
-
Choice_1_Alt_4
-
Choice_1_Alt_4
Choice_1_Alt_4(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomAttributeException
-
-
Method Details
-
set
-
encode
Description copied from class:TypedNodeAbstract fall-back method which MUST be overridden and always throws an Exception.- Specified by:
encodein classTypedNode<Extension>- Throws:
IOException
-
decode
static Element_or.Choice_1_Alt_4 decode(DecodingInputStream in, Extension ext) throws IOException, TdomContentException, TdomAttributeException -
__dumpElementSnapshot
- Overrides:
__dumpElementSnapshotin classElement_or.Choice_1
-
getElem_1_not
- Returns:
- (never null) the current value of the 1st appearance of
Element_notin the content model of this.
-
setElem_1_not
- Parameters:
newElem_1_not- (never null) new value for the 1st appearance ofElement_notin the content model of this.- Returns:
- (never null) the overwritten value.
- Throws:
IllegalArgumentException- in case of null.
-
parse
static Element_or.Choice_1_Alt_4 parse(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomAttributeException -
getParseClosure
static TypedContent.ParsingConstructor<? extends Element_or.Choice_1_Alt_4,Element, getParseClosure()Extension, TdomAttributeException> -
getDecodeClosure
static TypedContent.DecodingConstructor<? extends Element_or.Choice_1_Alt_4,Extension, getDecodeClosure()TdomAttributeException> -
lookahead
-
parse
public static Element_or.Choice_1_Alt_4 parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomXmlException, TdomContentException, TdomAttributeException -
lookahead
static boolean lookahead(Iterators.MultipleLookaheadIterator<? extends Element> i, boolean optional) -
semiparse
static Element_or.Choice_1_Alt_4 semiparse(Iterators.MultipleLookaheadIterator<? extends Element> i) throws TdomContentException - Throws:
TdomContentException
-
host
Description copied from interface:VisitableSend the visitor to this instance.- Specified by:
hostin interfaceVisitable<Visitor>- Overrides:
hostin classElement_or.Choice_1
-
identify
- Specified by:
identifyin interfaceMatchable<BaseMatcher>- Overrides:
identifyin classElement_or.Choice_1
-