Package eu.bandm.tools.doctypes.xhtml
Class Element_head.Choice_2_Alt_1_Choice_1
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.doctypes.xhtml.Element_head.Choice_2_Alt_1_Choice_1
- All Implemented Interfaces:
Matchable<BaseMatcher>,TypedContent,Visitable<Visitor>
- Direct Known Subclasses:
Element_head.Choice_2_Alt_1_Choice_1_Alt_1,Element_head.Choice_2_Alt_1_Choice_1_Alt_2,Element_head.Choice_2_Alt_1_Choice_1_Alt_3,Element_head.Choice_2_Alt_1_Choice_1_Alt_4,Element_head.Choice_2_Alt_1_Choice_1_Alt_5
- Enclosing class:
Element_head
@Undocumented
public abstract static class Element_head.Choice_2_Alt_1_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
(script | style | meta | link | object)*
which is the 1st choice clause in the enclosing content model, realized by
Element_head.Choice_2_Alt_1.
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 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidalt(Element_link elem_1_link) Wrap the content sequence into an instance of the corresponding subtype.alt(Element_meta elem_1_meta) Wrap the content sequence into an instance of the corresponding subtype.alt(Element_object elem_1_object) Wrap the content sequence into an instance of the corresponding subtype.alt(Element_script elem_1_script) Wrap the content sequence into an instance of the corresponding subtype.alt(Element_style elem_1_style) Wrap the content sequence into an instance of the corresponding subtype.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.final booleanisAlt_5()Returns whether current contents corrresponds to the 5th alternative.parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) 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.toAlt_5()If the current contents corresponds to the 5th alternative of the underlying content model, then cast it accordingly, otherwise return null.Methods 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, encode, encodeOptional, encodePlus, encodePlus, encodeStar, encodeStar, extractEthereals, getLocation, getPCData, setLocation, setLocation, setLocation
-
Constructor Details
-
Choice_2_Alt_1_Choice_1
public Choice_2_Alt_1_Choice_1(int altIndex)
-
-
Method Details
-
set
public void set() -
__dumpElementSnapshot
-
isAlt_1
Returns whether current contents corrresponds to the 1st alternative. of the underlying content model. This numbering is one-based.
The content model of this alternative isscript.- Returns:
- whether current contents corrresponds to the 1st alternative.
-
toAlt_1
If 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 isscript.- Returns:
- (maybe null) the current contents cast into the 1st alternative.
-
isAlt_2
Returns whether current contents corrresponds to the 2nd alternative. of the underlying content model. This numbering is one-based.
The content model of this alternative isstyle.- Returns:
- whether current contents corrresponds to the 2nd alternative.
-
toAlt_2
If 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 isstyle.- Returns:
- (maybe null) the current contents cast into the 2nd alternative.
-
isAlt_3
Returns whether current contents corrresponds to the 3rd alternative. of the underlying content model. This numbering is one-based.
The content model of this alternative ismeta.- Returns:
- whether current contents corrresponds to the 3rd alternative.
-
toAlt_3
If 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 ismeta.- Returns:
- (maybe null) the current contents cast into the 3rd alternative.
-
isAlt_4
Returns whether current contents corrresponds to the 4th alternative. of the underlying content model. This numbering is one-based.
The content model of this alternative islink.- Returns:
- whether current contents corrresponds to the 4th alternative.
-
toAlt_4
If 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 islink.- Returns:
- (maybe null) the current contents cast into the 4th alternative.
-
isAlt_5
Returns whether current contents corrresponds to the 5th alternative. of the underlying content model. This numbering is one-based.
The content model of this alternative isobject.- Returns:
- whether current contents corrresponds to the 5th alternative.
-
toAlt_5
If the current contents corresponds to the 5th alternative of the underlying content model, then cast it accordingly, otherwise return null. The numbering is one-based.
The content model of this alternative isobject.- Returns:
- (maybe null) the current contents cast into the 5th alternative.
-
alt
Wrap the content sequence into an instance of the corresponding subtype. The content model isscript -
alt
Wrap the content sequence into an instance of the corresponding subtype. The content model isstyle -
alt
Wrap the content sequence into an instance of the corresponding subtype. The content model ismeta -
alt
Wrap the content sequence into an instance of the corresponding subtype. The content model islink -
alt
Wrap the content sequence into an instance of the corresponding subtype. The content model isobject -
parse
public static Element_head.Choice_2_Alt_1_Choice_1 parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomContentException, TdomXmlException, TdomAttributeException -
host
Description copied from interface:VisitableSend the visitor to this instance. -
identify
- Specified by:
identifyin interfaceMatchable<BaseMatcher>
-