@User public class Element_uri extends Element implements Visitable<Visitor>, Matchable<BaseMatcher>
default.
| Modifier and Type | Class and Description |
|---|---|
static class |
Element_uri.Attr_default
Meaning: Default value in case the option is
missing completely.
|
static class |
Element_uri.Choice_1
Realizes the content model
(dirOnly | notDir)? , which is the 1st choice clause in the enclosing content model, realized by Element_uri. |
static class |
Element_uri.Choice_1_Alt_1
Realizes te content model
dirOnly, which is the 1st alternative in the enclosing choice, realized by Element_uri.Choice_1. |
static class |
Element_uri.Choice_1_Alt_2
Realizes te content model
notDir, which is the 2nd alternative in the enclosing choice, realized by Element_uri.Choice_1. |
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}uri. |
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_uri(Attributes attrs,
Element... content)
Semi-parsing constructor which tries to parse sequences of model content.
|
Element_uri(Element_uri.Choice_1 choice_1,
Element_writable elem_1_writable)
Statically typed w.r.t. the contents.
|
Element_uri(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) |
protected TypedAttribute[] |
__getAllAttrs() |
Element_uri |
checkRequiredAttrs() |
void |
encode(EncodingOutputStream out,
Extension ext)
Abstract fall-back method which MUST be overridden and always throws an Exception.
|
Element_uri.Attr_default |
getAttr_default()
Meaning: Default value in case the option is
missing completely.
|
@Opt Element_uri.Choice_1 |
getChoice_1() |
@Opt Element_writable |
getElem_1_writable() |
static TypedDTD.ElementInfo |
getInterfaceInfo()
Give reflexive info object about the generated class.
|
int |
getTagIndex() |
boolean |
hasChoice_1() |
boolean |
hasElem_1_writable() |
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.
|
static Element_uri |
parse(SAXEventStream in,
Extension ext,
TypedNode.ParseListener<Element> listener) |
Element_uri.Attr_default |
readAttr_default()
Meaning: Default value in case the option is
missing completely.
|
void |
set(Element_uri.Choice_1 choice_1,
Element_writable elem_1_writable)
Set all contents fields to a new value, after checking.
|
Element_uri.Choice_1 |
setChoice_1(@Opt Element_uri.Choice_1 newChoice_1) |
Element_writable |
setElem_1_writable(@Opt Element_writable newElem_1_writable) |
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}uri.@User public Element_uri(Element_uri.Choice_1 choice_1, Element_writable elem_1_writable)
TdomContentException can not occur.
initAttrs() to set the value for the optional
attribute.@SafeVarargs @User public Element_uri(@Opt Attributes attrs, Element... content) throws 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.@SafeVarargs @User public Element_uri(Element... content) throws TdomContentException
initAttrs() to set the value for the optional
attribute.content - the Element sequence to parse.TdomContentException - if the sequence in 'contents' does not match
the content model.@User public void set(Element_uri.Choice_1 choice_1, Element_writable elem_1_writable)
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_uri.Attr_default getAttr_default()
readAttr_default() should be
used.)@User public final Element_uri.Attr_default readAttr_default()
getAttr_default() must be used.)protected TypedAttribute[] __getAllAttrs()
__getAllAttrs in class TypedElement<Element,Extension>@User public boolean hasChoice_1()
Element_uri.Choice_1 in the content model of
this is not set to null@User @Opt public @Opt Element_uri.Choice_1 getChoice_1()
Element_uri.Choice_1 in the content model of
this.@User public Element_uri.Choice_1 setChoice_1(@Opt @Opt Element_uri.Choice_1 newChoice_1)
newChoice_1 - (maybe null) new value for the 1st appearance of Element_uri.Choice_1 in the content model of
this.@User public boolean hasElem_1_writable()
Element_writable in the content model of this
is not set to null@User @Opt public @Opt Element_writable getElem_1_writable()
Element_writable in the content model of this.@User public Element_writable setElem_1_writable(@Opt @Opt Element_writable newElem_1_writable)
newElem_1_writable - (maybe null) new value for the 1st appearance of
Element_writable in the content model
of this.protected void initAttrs(Attributes attrs)
initAttrs().initAttrs in class TypedElement<Element,Extension>attrs - collection of (possibly superfluous, undeclared) SAX encoded
attribute values.public static Element_uri 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()
public final Element_uri checkRequiredAttrs()
@User public static TypedDTD.ElementInfo getInterfaceInfo()
see also the complete user documentation .