Package eu.bandm.tools.doctypes.xhtml
Class Element_map.Choice_1_Alt_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_map.Choice_1
eu.bandm.tools.doctypes.xhtml.Element_map.Choice_1_Alt_1
- All Implemented Interfaces:
Matchable<BaseMatcher>,TypedContent,Visitable<Visitor>
- Enclosing class:
Element_map
@Undocumented
public static class Element_map.Choice_1_Alt_1
extends Element_map.Choice_1
implements Visitable<Visitor>, Matchable<BaseMatcher>
Realizes te content model
Please note that there are no (sensible) constructors; use the overloaded
(p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | pre | hr | blockquote | address | fieldset | table | form | noscript | ins | del | script)+
which is the 1st alternative in the enclosing choice, realized by Element_map.Choice_1.
Please note that there are no (sensible) constructors; use the overloaded
alt(..) factory methods in Element_map.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintfinal voidencode(EncodingOutputStream out, Extension ext) Abstract fall-back method which MUST be overridden and always throws an Exception.getElem_1_block_content(int index) voidSend the visitor to this instance.voididentify(BaseMatcher matcher) static Element_map.Choice_1_Alt_1parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) voidset(Element_block_content... elems_1_block_content) setElem_1_block_content(int index, Element_block_content newElem_1_block_content) setElems_1_block_content(Element_block_content... newElems_1_block_content) voidvisitElems_1_block_content(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_block_contentin the content model of this.Methods inherited from class eu.bandm.tools.doctypes.xhtml.Element_map.Choice_1
alt, alt, isAlt_1, isAlt_2, set, toAlt_1, toAlt_2Methods 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:
-
-
Constructor Details
-
Choice_1_Alt_1
-
Choice_1_Alt_1
public Choice_1_Alt_1()
-
-
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
-
__dumpElementSnapshot
- Overrides:
__dumpElementSnapshotin classElement_map.Choice_1
-
getElems_1_block_content
- Returns:
- (never null)an array of all items (never null) currently
contained in the 1st appearance of
Element_block_contentin the content model of this. This is directly the storage of the element's contents and all manipulations affect the element instance.
-
getElem_1_block_content
- Returns:
- (never null) the current value at the index position of the 1st
appearance of
Element_block_contentin the content model of this. - Throws:
ArrayIndexOutOfBoundsException
-
countElems_1_block_content
public int countElems_1_block_content()- Returns:
- the current number of items in the 1st appearance of
Element_block_contentin the content model of this.
-
visitElems_1_block_content
Sends the visitor to all items currently contained in the 1st appearance ofElement_block_contentin the content model of this. -
setElem_1_block_content
@Undocumented public Element_block_content setElem_1_block_content(int index, Element_block_content newElem_1_block_content) - Parameters:
newElem_1_block_content- (never null) new value at the given index position in the 1st appearance ofElement_block_contentin 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_block_content
@Undocumented public Element_block_content[] setElems_1_block_content(Element_block_content... newElems_1_block_content) - Parameters:
newElems_1_block_content- (never null) an array of all values (never null) in the 1st appearance ofElement_block_contentin 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 , or the array is empty.
-
parse
public static Element_map.Choice_1_Alt_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.- Specified by:
hostin interfaceVisitable<Visitor>- Overrides:
hostin classElement_map.Choice_1
-
identify
- Specified by:
identifyin interfaceMatchable<BaseMatcher>- Overrides:
identifyin classElement_map.Choice_1
-