@User public class Element_enumitem extends Element implements Visitable<Visitor>, Matchable<BaseMatcher>
value.
compilable.
| Modifier and Type | Class and Description |
|---|---|
static class |
Element_enumitem.Attr_compilable
Meaning: Text as which this item is realized
in the generated code.
|
static class |
Element_enumitem.Attr_value
Meaning: Text as which this item appears to
the user, on the command line, in
a GUI, etc.
|
Element.UnmixedContentTypedElement.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.PCDataContainerTypedNode.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/option}enumitem. |
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_enumitem(Attributes attrs,
Element... content)
Semi-parsing constructor which tries to parse sequences of model content.
|
Element_enumitem(Element_desc elem_1_desc)
Statically typed w.r.t. the contents.
|
Element_enumitem(Element... content)
Semi-parsing constructor which tries to parse sequences of model elements.
|
Element_enumitem(TypedAttribute.SafeValues flag,
Element_desc elem_1_desc) |
| Modifier and Type | Method and Description |
|---|---|
void |
__dumpElementSnapshot(List<TypedSubstantial<Extension>> list) |
protected TypedAttribute[] |
__getAllAttrs() |
Element_enumitem |
checkRequiredAttrs() |
void |
encode(EncodingOutputStream out,
Extension ext)
Abstract fall-back method which MUST be overridden and always throws an Exception.
|
Element_enumitem.Attr_compilable |
getAttr_compilable()
Meaning: Text as which this item is realized
in the generated code.
|
Element_enumitem.Attr_value |
getAttr_value()
Meaning: Text as which this item appears to
the user, on the command line, in
a GUI, etc.
|
@Opt Element_desc |
getElem_1_desc() |
static TypedDTD.ElementInfo |
getInterfaceInfo()
Give reflexive info object about the generated class.
|
int |
getTagIndex() |
boolean |
hasElem_1_desc() |
void |
host(Visitor visitor)
Send the visitor to this instance.
|
void |
identify(BaseMatcher matcher) |
protected void |
initAttrs() |
protected void |
initAttrs(Attributes attrs)
Pick attribute values from the argument and copy them to the attribute
values of this element.
|
protected void |
initAttrsSafe() |
static Element_enumitem |
parse(SAXEventStream in,
Extension ext,
TypedNode.ParseListener<Element> listener) |
Element_enumitem.Attr_compilable |
readAttr_compilable()
Meaning: Text as which this item is realized
in the generated code.
|
Element_enumitem.Attr_value |
readAttr_value()
Meaning: Text as which this item appears to
the user, on the command line, in
a GUI, etc.
|
void |
set(Element_desc elem_1_desc)
Set all contents fields to a new value, after checking.
|
Element_desc |
setElem_1_desc(@Opt Element_desc newElem_1_desc) |
getDeepPCDataclassifyForException, decodeMixed, decodeOptional, decodePlus, decodePlusList, decodeStar, decodeStarList, encode, encodeMixed, end, ensureSize, extractElement, getAttrsSnapshot, getAttrsSnapshot, getElemsSnapshot, getEtherealContainer, getLocalName, getName, getNamespaceURI, getPCData, getTagName, initAttrs, initAttrsSafe, matchEndElement, matchEndElement, matchStartElement, matchStartElement, parseAbstract, parseAndClose, parseAndClose, parseMixed, parseMixed, parseOptional, parsePlus, parsePlusList, parseStar, parseStarList, semiparseEmpty, semiparseMixed, setResizing, start, w3c_getNamespaceNamedumpFollowingEthereals, dumpPrecedingEthereals, getFollowingEthereals, getPrecedingEthereals, readFollowingEthereals, readPrecedingEtherealsasBigDecimal, 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, setLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocationpublic static final int TAG_INDEX
public static final String TAG_NAME
public static final NamespaceName name
{http://bandm.eu/doctypes/option}enumitem.@User public Element_enumitem(Element_desc elem_1_desc) throws TdomAttributeSyntaxException, TdomAttributeMissingException
TdomContentException can not occur.
initAttrs() to set the values for the required
attribute value, plus optional attributes ad lib.
TdomAttributeMissingException - if no value for required attribute
value is set explicitly.TdomAttributeSyntaxExceptionpublic Element_enumitem(TypedAttribute.SafeValues flag, Element_desc elem_1_desc) throws TdomAttributeMissingException
TdomAttributeMissingException@SafeVarargs @User public Element_enumitem(@Opt Attributes attrs, Element... content) throws TdomAttributeSyntaxException, TdomContentException, TdomAttributeMissingException
attrs - (maybe null) A SAX auxiliary attribute store, from which
values for the attributes defined for this element will be picked.
(Undefined attributes are ignored; a value of null leaves the attribute
default values untouched; all attribute values can be overridden by
overriding initAttrs(), which is called after this picking.)content - the Element sequence to parse.TdomContentException - if the sequence in 'contents' does not match
the content model.TdomAttributeMissingException - if there is no value contained in
param attrs nor set in initAttrs() for required
attribute value.TdomAttributeSyntaxException@SafeVarargs @User public Element_enumitem(Element... content) throws TdomAttributeSyntaxException, TdomContentException, TdomAttributeMissingException
initAttrs() to set the values for the required
attribute value, plus optional attributes ad lib.content - the Element sequence to parse.TdomContentException - if the sequence in 'contents' does not match
the content model.TdomAttributeMissingException - if no value for required attribute
value is set explicitly.TdomAttributeSyntaxException@User public void set(Element_desc elem_1_desc)
TdomContentException can not
occur.public final void encode(EncodingOutputStream out, Extension ext) throws IOException
TypedNodeencode in class TypedNode<Extension>IOExceptionpublic void __dumpElementSnapshot(List<TypedSubstantial<Extension>> list)
__dumpElementSnapshot in class TypedElement<Element,Extension>public final int getTagIndex()
getTagIndex in class TypedElement<Element,Extension>@User public final Element_enumitem.Attr_value getAttr_value()
@compilable
must be given. readAttr_value() should be used.)@User public final Element_enumitem.Attr_value readAttr_value()
@compilable
must be given. getAttr_value() must be used.)@User public final Element_enumitem.Attr_compilable getAttr_compilable()
@value
is not. readAttr_compilable() should be
used.)@User public final Element_enumitem.Attr_compilable readAttr_compilable()
@value
is not. getAttr_compilable() must be used.)protected TypedAttribute[] __getAllAttrs()
__getAllAttrs in class TypedElement<Element,Extension>@User public boolean hasElem_1_desc()
Element_desc in the content model of this is
not set to null@User @Opt public @Opt Element_desc getElem_1_desc()
Element_desc in the content model of this.@User public Element_desc setElem_1_desc(@Opt @Opt Element_desc newElem_1_desc)
newElem_1_desc - (maybe null) new value for the 1st appearance of
Element_desc in the content model of
this.protected void initAttrs(Attributes attrs) throws TdomAttributeSyntaxException
initAttrs().initAttrs in class TypedElement<Element,Extension>attrs - collection of (possibly superfluous, undeclared) SAX encoded
attribute values.TdomAttributeSyntaxExceptionpublic static Element_enumitem parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomAttributeException, TdomContentException, TdomXmlException
public void host(Visitor visitor)
Visitablepublic void identify(BaseMatcher matcher)
identify in interface Matchable<BaseMatcher>protected void initAttrs()
throws TdomAttributeSyntaxException
TdomAttributeSyntaxExceptionprotected void initAttrsSafe()
public final Element_enumitem checkRequiredAttrs() throws TdomAttributeMissingException
TdomAttributeMissingException@User public static TypedDTD.ElementInfo getInterfaceInfo()
see also the complete user documentation .