Package eu.bandm.tools.option.absy
Class Element_and.Choice_1
java.lang.Object
- All Implemented Interfaces:
- Matchable<BaseMatcher>,- TypedContent,- Visitable<Visitor>
- Direct Known Subclasses:
- Element_and.Choice_1_Alt_1,- Element_and.Choice_1_Alt_2,- Element_and.Choice_1_Alt_3,- Element_and.Choice_1_Alt_4
- Enclosing class:
- Element_and
@Undocumented
public abstract static class Element_and.Choice_1
extends TypedChoice<Extension>
implements Visitable<Visitor>, Matchable<BaseMatcher>
Realizes the content model 
 
Please note that there are no (sensible) constructors; use the overloaded
((testequal | testgreater | optarg | enumSetContains) | and | or | not)+Element_and.
 Please note that there are no (sensible) constructors; use the overloaded
alt(..) factory methods instead, to construct an 
 instance of the appropriate subclass.- 
Nested Class SummaryNested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedNodeTypedNode.ParseListener<E extends TypedElement<?,?>> Nested classes/interfaces inherited from interface eu.bandm.tools.tdom.runtime.TypedContentTypedContent.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 SummaryFields inherited from class eu.bandm.tools.tdom.runtime.TypedChoicealtIndex
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidstatic Element_and.Choice_1alt(Element_and elem_1_and) Wrap the content sequence into an instance of the corresponding subtype.static Element_and.Choice_1alt(Element_and.Choice_1_Alt_1_Choice_1 choice_1) Wrap the content sequence into an instance of the corresponding subtype.static Element_and.Choice_1alt(Element_not elem_1_not) Wrap the content sequence into an instance of the corresponding subtype.static Element_and.Choice_1alt(Element_or elem_1_or) Wrap the content sequence into an instance of the corresponding subtype.(package private) static Element_and.Choice_1decode(DecodingInputStream in, Extension ext) (package private) static TypedContent.DecodingConstructor<? extends Element_and.Choice_1, Extension, TdomAttributeException> (package private) static TypedContent.ParsingConstructor<? extends Element_and.Choice_1, Element, Extension, TdomAttributeException> voidSend the visitor to this instance.voididentify(BaseMatcher matcher) final booleanisAlt_1()Returns whether current contents corrresponds to the 1st alternative.final booleanisAlt_2()Returns whether current contents corrresponds to the 2nd alternative.final booleanisAlt_3()Returns whether current contents corrresponds to the 3rd alternative.final booleanisAlt_4()Returns whether current contents corrresponds to the 4th alternative.(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_and.Choice_1parse(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) static Element_and.Choice_1parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_and.Choice_1parseOptional(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_and.Choice_1[]parsePlus(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_and.Choice_1[]parseStar(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) (package private) static Element_and.Choice_1semiparse(Iterators.MultipleLookaheadIterator<? extends Element> i) (package private) static @Opt Element_and.Choice_1semiparseOptional(Iterators.MultipleLookaheadIterator<? extends Element> i) (package private) static Element_and.Choice_1[]semiparsePlus(Iterators.MultipleLookaheadIterator<? extends Element> i) (package private) static Element_and.Choice_1[]semiparseStar(Iterators.MultipleLookaheadIterator<? extends Element> i) voidset()toAlt_1()If the current contents corresponds to the 1st alternative of the underlying content model, then cast it accordingly, otherwise return null.toAlt_2()If the current contents corresponds to the 2nd alternative of the underlying content model, then cast it accordingly, otherwise return null.toAlt_3()If the current contents corresponds to the 3rd alternative of the underlying content model, then cast it accordingly, otherwise return null.toAlt_4()If the current contents corresponds to the 4th alternative of the underlying content model, then cast it accordingly, otherwise return null.Methods inherited from class eu.bandm.tools.tdom.runtime.TypedChoicegetAltIndexMethods inherited from class eu.bandm.tools.tdom.runtime.TypedNodeasBigDecimal, 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
- 
Constructor Details- 
Choice_1public Choice_1(int altIndex) 
 
- 
- 
Method Details- 
setpublic void set()
- 
decodestatic Element_and.Choice_1 decode(DecodingInputStream in, Extension ext) throws IOException, TdomContentException, TdomAttributeException 
- 
__dumpElementSnapshot
- 
parsestatic Element_and.Choice_1 parse(ContentMapping content, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomAttributeException 
- 
isAlt_1Returns whether current contents corrresponds to the 1st alternative. of the underlying content model. This numbering is one-based.
 The content model of this alternative is(testequal | testgreater | optarg | enumSetContains).- Returns:
- whether current contents corrresponds to the 1st alternative.
 
- 
toAlt_1If the current contents corresponds to the 1st alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
 The content model of this alternative is(testequal | testgreater | optarg | enumSetContains).- Returns:
- (maybe null) the current contents cast into the 1st alternative.
 
- 
isAlt_2Returns whether current contents corrresponds to the 2nd alternative. of the underlying content model. This numbering is one-based.
 The content model of this alternative isand.- Returns:
- whether current contents corrresponds to the 2nd alternative.
 
- 
toAlt_2If the current contents corresponds to the 2nd alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
 The content model of this alternative isand.- Returns:
- (maybe null) the current contents cast into the 2nd alternative.
 
- 
isAlt_3Returns whether current contents corrresponds to the 3rd alternative. of the underlying content model. This numbering is one-based.
 The content model of this alternative isor.- Returns:
- whether current contents corrresponds to the 3rd alternative.
 
- 
toAlt_3If the current contents corresponds to the 3rd alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
 The content model of this alternative isor.- Returns:
- (maybe null) the current contents cast into the 3rd alternative.
 
- 
isAlt_4Returns whether current contents corrresponds to the 4th alternative. of the underlying content model. This numbering is one-based.
 The content model of this alternative isnot.- Returns:
- whether current contents corrresponds to the 4th alternative.
 
- 
toAlt_4If the current contents corresponds to the 4th alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
 The content model of this alternative isnot.- Returns:
- (maybe null) the current contents cast into the 4th alternative.
 
- 
altWrap the content sequence into an instance of the corresponding subtype. The content model is(testequal | testgreater | optarg | enumSetContains)
- 
altWrap the content sequence into an instance of the corresponding subtype. The content model isand
- 
altWrap the content sequence into an instance of the corresponding subtype. The content model isor
- 
altWrap the content sequence into an instance of the corresponding subtype. The content model isnot
- 
getParseClosurestatic TypedContent.ParsingConstructor<? extends Element_and.Choice_1,Element, getParseClosure()Extension, TdomAttributeException> 
- 
getDecodeClosurestatic TypedContent.DecodingConstructor<? extends Element_and.Choice_1,Extension, getDecodeClosure()TdomAttributeException> 
- 
parseStarstatic Element_and.Choice_1[] parseStar(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomXmlException, TdomContentException, TdomAttributeException 
- 
parsePlusstatic Element_and.Choice_1[] parsePlus(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomXmlException, TdomContentException, TdomAttributeException 
- 
parseOptionalstatic Element_and.Choice_1 parseOptional(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomXmlException, TdomContentException, TdomAttributeException 
- 
lookahead
- 
parsepublic static Element_and.Choice_1 parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomXmlException, TdomContentException, TdomAttributeException 
- 
semiparseStarstatic Element_and.Choice_1[] semiparseStar(Iterators.MultipleLookaheadIterator<? extends Element> i) throws TdomContentException - Throws:
- TdomContentException
 
- 
semiparsePlusstatic Element_and.Choice_1[] semiparsePlus(Iterators.MultipleLookaheadIterator<? extends Element> i) throws TdomContentException - Throws:
- TdomContentException
 
- 
semiparseOptional@Opt static @Opt Element_and.Choice_1 semiparseOptional(Iterators.MultipleLookaheadIterator<? extends Element> i) throws TdomContentException - Throws:
- TdomContentException
 
- 
lookaheadstatic boolean lookahead(Iterators.MultipleLookaheadIterator<? extends Element> i, boolean optional) 
- 
semiparsestatic Element_and.Choice_1 semiparse(Iterators.MultipleLookaheadIterator<? extends Element> i) throws TdomContentException - Throws:
- TdomContentException
 
- 
hostDescription copied from interface:VisitableSend the visitor to this instance.
- 
identify- Specified by:
- identifyin interface- Matchable<BaseMatcher>
 
 
-