@User public class Element_rep extends Element implements Visitable<Visitor>, Matchable<BaseMatcher>
| Modifier and Type | Class and Description |
|---|---|
static class |
Element_rep.Attr_kind
Meaning: Whether the empty sequence is a
valid input ("star", not "plus").
|
static class |
Element_rep.Choice_1
|
static class |
Element_rep.Choice_1_Alt_1
Realizes te content model
int, which is the 1st alternative in the enclosing choice, realized by Element_rep.Choice_1. |
static class |
Element_rep.Choice_1_Alt_2
Realizes te content model
float, which is the 2nd alternative in the enclosing choice, realized by Element_rep.Choice_1. |
static class |
Element_rep.Choice_1_Alt_3
Realizes te content model
rat, which is the 3rd alternative in the enclosing choice, realized by Element_rep.Choice_1. |
static class |
Element_rep.Choice_1_Alt_4
Realizes te content model
bool, which is the 4th alternative in the enclosing choice, realized by Element_rep.Choice_1. |
static class |
Element_rep.Choice_1_Alt_5
Realizes te content model
string, which is the 5th alternative in the enclosing choice, realized by Element_rep.Choice_1. |
static class |
Element_rep.Choice_1_Alt_6
Realizes te content model
uri, which is the 6th alternative in the enclosing choice, realized by Element_rep.Choice_1. |
static class |
Element_rep.Choice_1_Alt_7
Realizes te content model
enum, which is the 7th alternative in the enclosing choice, realized by Element_rep.Choice_1. |
static class |
Element_rep.Choice_1_Alt_8
Realizes te content model
enumset, which is the 8th alternative in the enclosing choice, realized by Element_rep.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}rep. |
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_rep(Attributes attrs,
Element... content)
Semi-parsing constructor which tries to parse sequences of model content.
|
Element_rep(Element_rep.Choice_1[] choices_1,
Element_defaults elem_1_defaults)
Statically typed w.r.t. the contents, as far as possible.
|
Element_rep(Element... content)
Semi-parsing constructor which tries to parse sequences of model elements.
|
Element_rep(TypedAttribute.SafeValues flag,
Element_rep.Choice_1[] choices_1,
Element_defaults elem_1_defaults) |
| Modifier and Type | Method and Description |
|---|---|
void |
__dumpElementSnapshot(List<TypedSubstantial<Extension>> list) |
protected TypedAttribute[] |
__getAllAttrs() |
Element_rep |
checkRequiredAttrs() |
int |
countChoices_1() |
void |
encode(EncodingOutputStream out,
Extension ext)
Abstract fall-back method which MUST be overridden and always throws an Exception.
|
Element_rep.Attr_kind |
getAttr_kind()
Meaning: Whether the empty sequence is a
valid input ("star", not "plus").
|
Element_rep.Choice_1 |
getChoice_1(int index) |
Element_rep.Choice_1[] |
getChoices_1() |
@Opt Element_defaults |
getElem_1_defaults() |
static TypedDTD.ElementInfo |
getInterfaceInfo()
Give reflexive info object about the generated class.
|
int |
getTagIndex() |
boolean |
hasElem_1_defaults() |
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_rep |
parse(SAXEventStream in,
Extension ext,
TypedNode.ParseListener<Element> listener) |
Element_rep.Attr_kind |
readAttr_kind()
Meaning: Whether the empty sequence is a
valid input ("star", not "plus").
|
void |
set(Element_rep.Choice_1[] choices_1,
Element_defaults elem_1_defaults)
Set all contents fields to a new value, after checking.
|
Element_rep.Choice_1 |
setChoice_1(int index,
Element_rep.Choice_1 newChoice_1) |
Element_rep.Choice_1[] |
setChoices_1(Element_rep.Choice_1... newChoices_1) |
Element_defaults |
setElem_1_defaults(@Opt Element_defaults newElem_1_defaults) |
void |
visitChoices_1(Visitor visitor)
Sends the visitor to all items currently contained in the 1st appearance
of
Element_rep.Choice_1 in the content
model of this. |
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}rep.@User public Element_rep(Element_rep.Choice_1[] choices_1, Element_defaults elem_1_defaults) throws TdomAttributeSyntaxException, TdomAttributeMissingException
TdomContentException can not occur.
initAttrs() to set the values for the required
attribute kind.IllegalArgumentException - if any input to contents is null, except
where explicitly allowed by (..)? in the content model.IllegalArgumentException - if an array for a (..)+ in the
content model is empty.TdomAttributeMissingException - if no value for required attribute
kind is set explicitly.TdomAttributeSyntaxExceptionpublic Element_rep(TypedAttribute.SafeValues flag, Element_rep.Choice_1[] choices_1, Element_defaults elem_1_defaults) throws TdomAttributeMissingException
TdomAttributeMissingException@SafeVarargs @User public Element_rep(@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.IllegalArgumentException - if any input to contents is null, except
where explicitly allowed by (..)? in the content model.TdomAttributeMissingException - if there is no value contained in
param attrs nor set in initAttrs() for required
attribute kind.TdomAttributeSyntaxException@SafeVarargs @User public Element_rep(Element... content) throws TdomAttributeSyntaxException, TdomContentException, TdomAttributeMissingException
initAttrs() to set the values for the required
attribute kind.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.TdomAttributeMissingException - if no value for required attribute
kind is set explicitly.TdomAttributeSyntaxException@User public void set(Element_rep.Choice_1[] choices_1, Element_defaults elem_1_defaults)
TdomContentException can not
occur.IllegalArgumentException - if any input to contents is null, except
where explicitly allowed by (..)? in the content model.IllegalArgumentException - if an array for a (..)+ in the
content model is empty.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_rep.Attr_kind getAttr_kind()
readAttr_kind() should be used.)@User public final Element_rep.Attr_kind readAttr_kind()
getAttr_kind() must be used.)protected TypedAttribute[] __getAllAttrs()
__getAllAttrs in class TypedElement<Element,Extension>@User public Element_rep.Choice_1[] getChoices_1()
Element_rep.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_rep.Choice_1 getChoice_1(int index)
Element_rep.Choice_1 in
the content model of this.ArrayIndexOutOfBoundsExceptionpublic int countChoices_1()
Element_rep.Choice_1 in the content model of
this.@User public void visitChoices_1(Visitor visitor)
Element_rep.Choice_1 in the content
model of this.@User public Element_rep.Choice_1 setChoice_1(int index, Element_rep.Choice_1 newChoice_1)
newChoice_1 - (never null) new value at the given index position in
the 1st appearance of Element_rep.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_rep.Choice_1[] setChoices_1(Element_rep.Choice_1... newChoices_1)
newChoices_1 - (never null) an array of all values (never null)
in the 1st appearance of Element_rep.Choice_1 in the content model of
this.IllegalArgumentException - if the array is null, or a null value
is contained therein , or the array is empty.@User public boolean hasElem_1_defaults()
Element_defaults in the content model of this
is not set to null@User @Opt public @Opt Element_defaults getElem_1_defaults()
Element_defaults in the content model of this.@User public Element_defaults setElem_1_defaults(@Opt @Opt Element_defaults newElem_1_defaults)
newElem_1_defaults - (maybe null) new value for the 1st appearance of
Element_defaults 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_rep 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_rep checkRequiredAttrs() throws TdomAttributeMissingException
TdomAttributeMissingException@User public static TypedDTD.ElementInfo getInterfaceInfo()
see also the complete user documentation .