@User public class Element_a_kind extends Element implements Visitable<Visitor>, Matchable<BaseMatcher>
Element.UnmixedContent
TypedElement.AttributeDecoder, TypedElement.AttributeEncoder, TypedElement.MixedContent<E extends TypedElement<E,X>,X extends TypedExtension>, TypedElement.MixedContentContainer, TypedElement.MixedContentFactory<C extends TypedElement.MixedContent<E,X>,E extends TypedElement<E,X>,X extends TypedExtension,Y extends Exception>, TypedElement.PCDataContainer
TypedNode.ParseListener<E extends TypedElement<?,?>>
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>
Modifier and Type | Field and Description |
---|---|
static NamespaceName |
name
Name of the Element is in namespace-enabled mode, namely
{http://bandm.eu/doctypes/d2d_gp/basic}a:kind . |
static int |
TAG_INDEX |
static String |
TAG_NAME
The name of the element, as it appears literally in the underlying DTD.
|
getDeepPCData, getFlatPCData
Constructor and Description |
---|
Element_a_kind(Attributes attrs,
Element... content)
Semi-parsing constructor which tries to parse sequences of model content.
|
Element_a_kind(Element_a_pkind elem_1_a_pkind,
Element_a_pkind... elems_2_a_pkind)
Statically typed w.r.t. the contents, as far as possible.
|
Element_a_kind(Element... content)
Semi-parsing constructor which tries to parse sequences of model
elements.
|
Modifier and Type | Method and Description |
---|---|
void |
__dumpElementSnapshot(List<TypedSubstantial<Extension>> list) |
Element_a_kind |
checkRequiredAttrs() |
int |
countElems_2_a_pkind() |
void |
encode(EncodingOutputStream out,
Extension ext)
Abstract fall-back method which MUST be overridden and always throws an Exception.
|
Element_a_pkind |
getElem_1_a_pkind() |
Element_a_pkind |
getElem_2_a_pkind(int index) |
Element_a_pkind[] |
getElems_2_a_pkind() |
static TypedDTD.ElementInfo |
getInterfaceInfo()
Give reflexive info object about the generated class.
|
int |
getTagIndex() |
void |
host(Visitor visitor)
Send the visitor to this instance.
|
void |
identify(BaseMatcher matcher) |
static Element_a_kind |
parse(SAXEventStream in,
Extension ext,
TypedNode.ParseListener<Element> listener) |
void |
set(Element_a_pkind elem_1_a_pkind,
Element_a_pkind... elems_2_a_pkind)
Set all contents fields to a new value, after checking.
|
Element_a_pkind |
setElem_1_a_pkind(Element_a_pkind newElem_1_a_pkind) |
Element_a_pkind |
setElem_2_a_pkind(int index,
Element_a_pkind newElem_2_a_pkind) |
Element_a_pkind[] |
setElems_2_a_pkind(Element_a_pkind... newElems_2_a_pkind) |
void |
visitElems_2_a_pkind(Visitor visitor)
Sends the visitor to all items currently contained in the 2nd appearance
of
Element_a_pkind in the content model
of this. |
getDeepPCData
__getAllAttrs, classifyForException, decodeMixed, decodeOptional, decodePlus, decodePlusList, decodeStar, decodeStarList, encode, encodeMixed, end, ensureSize, extractElement, getAttrsSnapshot, getAttrsSnapshot, getElemsSnapshot, getEtherealContainer, getLocalName, getName, getNamespaceURI, getPCData, getTagName, initAttrs, initAttrs, initAttrsSafe, matchEndElement, matchEndElement, matchStartElement, matchStartElement, parseAbstract, parseAndClose, parseAndClose, parseMixed, parseMixed, parseOptional, parsePlus, parsePlusList, parseStar, parseStarList, semiparseEmpty, semiparseMixed, setResizing, start, w3c_getNamespaceName
dumpFollowingEthereals, dumpPrecedingEthereals, getFollowingEthereals, getPrecedingEthereals, readFollowingEthereals, readPrecedingEthereals
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, encodeOptional, encodePlus, encodePlus, encodeStar, encodeStar, extractEthereals, getLocation, getPCData, setLocation, setLocation, setLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocation
public static final int TAG_INDEX
public static final String TAG_NAME
public static final NamespaceName name
{http://bandm.eu/doctypes/d2d_gp/basic}a:kind
.@User public Element_a_kind(Element_a_pkind elem_1_a_pkind, Element_a_pkind... elems_2_a_pkind)
TdomContentException
can not occur.IllegalArgumentException
- if any input to contents is null.@SafeVarargs @User public Element_a_kind(@Opt Attributes attrs, Element... content) throws TdomContentException
content
- the Element sequence to parse.TdomContentException
- if the sequence in 'contents' does not match
the content model.IllegalArgumentException
- if any input to contents is null.@SafeVarargs @User public Element_a_kind(Element... content) throws TdomContentException
content
- the Element sequence to parse.TdomContentException
- if the sequence in 'contents' does not match
the content model.IllegalArgumentException
- if any input to contents is null.@User public void set(Element_a_pkind elem_1_a_pkind, Element_a_pkind... elems_2_a_pkind)
TdomContentException
can not
occur.IllegalArgumentException
- if any input to contents is null.public final void encode(EncodingOutputStream out, Extension ext) throws IOException
TypedNode
encode
in class TypedNode<Extension>
IOException
public void __dumpElementSnapshot(List<TypedSubstantial<Extension>> list)
__dumpElementSnapshot
in class TypedElement<Element,Extension>
public final int getTagIndex()
getTagIndex
in class TypedElement<Element,Extension>
@User public Element_a_pkind getElem_1_a_pkind()
Element_a_pkind
in the content model of this.@User public Element_a_pkind setElem_1_a_pkind(Element_a_pkind newElem_1_a_pkind)
newElem_1_a_pkind
- (never null) new value for the 1st appearance of
Element_a_pkind
in the content model of
this.IllegalArgumentException
- in case of null.@User public Element_a_pkind[] getElems_2_a_pkind()
Element_a_pkind
in the content model of this.
This is directly the storage of the element's contents and all
manipulations affect the element instance.@User public Element_a_pkind getElem_2_a_pkind(int index)
Element_a_pkind
in the
content model of this.ArrayIndexOutOfBoundsException
public int countElems_2_a_pkind()
Element_a_pkind
in the content model of this.@User public void visitElems_2_a_pkind(Visitor visitor)
Element_a_pkind
in the content model
of this.@User public Element_a_pkind setElem_2_a_pkind(int index, Element_a_pkind newElem_2_a_pkind)
newElem_2_a_pkind
- (never null) new value at the given index
position in the 2nd appearance of Element_a_pkind
in the content model of this.IllegalArgumentException
- on attempt to set null value.IndexOutOfBoundsException
- if current array is not large enough.@User public Element_a_pkind[] setElems_2_a_pkind(Element_a_pkind... newElems_2_a_pkind)
newElems_2_a_pkind
- (never null) an array of all values (never
null) in the 2nd appearance of Element_a_pkind
in the content model of this.IllegalArgumentException
- if the array is null, or a null value
is contained therein .public static Element_a_kind parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomXmlException, TdomContentException, TdomAttributeException
public void host(Visitor visitor)
Visitable
public void identify(BaseMatcher matcher)
identify
in interface Matchable<BaseMatcher>
public final Element_a_kind checkRequiredAttrs()
@User public static TypedDTD.ElementInfo getInterfaceInfo()
see also the complete user documentation .