@User public class Element_optionlist extends Element implements Visitable<Visitor>, Matchable<BaseMatcher>
hexadecimalIntegers
, setterFunctions
, defaultSorting
, fragmentedLists
.
Modifier and Type | Class and Description |
---|---|
static class |
Element_optionlist.Attr_defaultSorting |
static class |
Element_optionlist.Attr_fragmentedLists
Meaning: Whether reperated option arguments
may be continued
following some other option(s).
|
static class |
Element_optionlist.Attr_hexadecimalIntegers |
static class |
Element_optionlist.Attr_setterFunctions
Meaning: Whether setter methods will be
synthesized
for editing the value of an option instance.
|
static class |
Element_optionlist.Choice_1
Realizes the content model
(enumeration | option | comment)* , which is the 1st choice clause in the enclosing content model, realized by Element_optionlist . |
static class |
Element_optionlist.Choice_1_Alt_1
Realizes te content model
enumeration, which is the 1st alternative in the enclosing choice, realized by Element_optionlist.Choice_1 . |
static class |
Element_optionlist.Choice_1_Alt_2
Realizes te content model
option, which is the 2nd alternative in the enclosing choice, realized by Element_optionlist.Choice_1 . |
static class |
Element_optionlist.Choice_1_Alt_3
Realizes te content model
comment, which is the 3rd alternative in the enclosing choice, realized by Element_optionlist.Choice_1 . |
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/option}optionlist . |
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_optionlist(Attributes attrs,
Element... content)
Semi-parsing constructor which tries to parse sequences of model content.
|
Element_optionlist(Element_printout_title elem_1_printout_title,
Element_optionlist.Choice_1... choices_1)
Statically typed w.r.t. the contents, as far as possible.
|
Element_optionlist(Element... content)
Semi-parsing constructor which tries to parse sequences of model elements.
|
getDeepPCData
classifyForException, 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_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/option}optionlist
.@User public Element_optionlist(Element_printout_title elem_1_printout_title, Element_optionlist.Choice_1... choices_1)
TdomContentException
can not occur.
initAttrs()
to set the values for the optional
attributes.IllegalArgumentException
- if any input to contents is null, except
where explicitly allowed by (..)?
in the content model.@SafeVarargs @User public Element_optionlist(@Opt Attributes attrs, Element... content) throws TdomAttributeSyntaxException, TdomContentException
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.IllegalArgumentException
- if any input to contents is null, except
where explicitly allowed by (..)?
in the content model.TdomAttributeSyntaxException
@SafeVarargs @User public Element_optionlist(Element... content) throws TdomContentException
initAttrs()
to set the values for the optional
attributes.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, except
where explicitly allowed by (..)?
in the content model.@User public void set(Element_printout_title elem_1_printout_title, Element_optionlist.Choice_1... choices_1)
TdomContentException
can not
occur.IllegalArgumentException
- if any input to contents is null, except
where explicitly allowed by (..)?
in the content model.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 final Element_optionlist.Attr_defaultSorting getAttr_defaultSorting()
readAttr_defaultSorting()
should
be used.)@User public final Element_optionlist.Attr_defaultSorting readAttr_defaultSorting()
getAttr_defaultSorting()
must be
used.)@User public final Element_optionlist.Attr_fragmentedLists getAttr_fragmentedLists()
readAttr_fragmentedLists()
should
be used.)@User public final Element_optionlist.Attr_fragmentedLists readAttr_fragmentedLists()
getAttr_fragmentedLists()
must be
used.)@User public final Element_optionlist.Attr_setterFunctions getAttr_setterFunctions()
readAttr_setterFunctions()
should
be used.)@User public final Element_optionlist.Attr_setterFunctions readAttr_setterFunctions()
getAttr_setterFunctions()
must be
used.)@User public final Element_optionlist.Attr_hexadecimalIntegers getAttr_hexadecimalIntegers()
readAttr_hexadecimalIntegers()
should be used.)@User public final Element_optionlist.Attr_hexadecimalIntegers readAttr_hexadecimalIntegers()
getAttr_hexadecimalIntegers()
must be
used.)protected TypedAttribute[] __getAllAttrs()
__getAllAttrs
in class TypedElement<Element,Extension>
@User public boolean hasElem_1_printout_title()
Element_printout_title
in the content model of
this is not set to null
@User @Opt public @Opt Element_printout_title getElem_1_printout_title()
Element_printout_title
in the content model of
this.@User public Element_printout_title setElem_1_printout_title(@Opt @Opt Element_printout_title newElem_1_printout_title)
newElem_1_printout_title
- (maybe null) new value for the 1st
appearance of Element_printout_title
in
the content model of this.@User public Element_optionlist.Choice_1[] getChoices_1()
Element_optionlist.Choice_1
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_optionlist.Choice_1 getChoice_1(int index)
Element_optionlist.Choice_1
in the content
model of this.ArrayIndexOutOfBoundsException
public int countChoices_1()
Element_optionlist.Choice_1
in the content
model of this.@User public void visitChoices_1(Visitor visitor)
Element_optionlist.Choice_1
in the
content model of this.@User public Element_optionlist.Choice_1 setChoice_1(int index, Element_optionlist.Choice_1 newChoice_1)
newChoice_1
- (never null) new value at the given index position in
the 1st appearance of Element_optionlist.Choice_1
in the content
model of this.IllegalArgumentException
- on attempt to set null value.IndexOutOfBoundsException
- if current array is not large enough.@User public Element_optionlist.Choice_1[] setChoices_1(Element_optionlist.Choice_1... newChoices_1)
newChoices_1
- (never null) an array of all values (never null)
in the 1st appearance of Element_optionlist.Choice_1
in the content
model of this.IllegalArgumentException
- if the array is null, or a null value
is contained therein .protected void initAttrs(Attributes attrs) throws TdomAttributeSyntaxException
initAttrs()
.initAttrs
in class TypedElement<Element,Extension>
attrs
- collection of (possibly superfluous, undeclared) SAX encoded
attribute values.TdomAttributeSyntaxException
public static Element_optionlist parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomAttributeException, TdomContentException, TdomXmlException
public void host(Visitor visitor)
Visitable
public void identify(BaseMatcher matcher)
identify
in interface Matchable<BaseMatcher>
protected void initAttrs()
public final Element_optionlist checkRequiredAttrs()
@User public static TypedDTD.ElementInfo getInterfaceInfo()
see also the complete user documentation .