@User public class Element_a_spanstyle extends Element implements TypedElement.MixedContentContainer, Visitable<Visitor>, Matchable<BaseMatcher>
a:style.
| Modifier and Type | Class and Description |
|---|---|
static class |
Element_a_spanstyle.Attr_a_style |
static class |
Element_a_spanstyle.Content |
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 |
|---|---|
CheckedList<Element_a_spanstyle.Content> |
content
List of contents elements, may freely be manipulated, as long as no null
value is tried to enter.
|
static Element_a_spanstyle.Content[] |
EMPTY_CONTENT
Constant value for convenience.
|
static NamespaceName |
name
Name of the Element is in namespace-enabled mode, namely
{http://bandm.eu/doctypes/d2d_gp/basic}a:spanstyle. |
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_spanstyle()
Statically typed w.r.t. the contents; a
TdomContentException can not occur. |
Element_a_spanstyle(Attributes attrs,
TypedSubstantial<Extension>... content)
Semi-parsing constructor which tries to parse sequences of model content.
|
Element_a_spanstyle(Element_a_spanstyle.Content... content)
Constructor for an instance with given contents.
|
Element_a_spanstyle(String cdata)
Convenience constructor which sets the contents to this one string value.
|
Element_a_spanstyle(TypedAttribute.SafeValues flag,
Element_a_spanstyle.Content... content)
Constructor for an instance with given contents.
|
Element_a_spanstyle(TypedAttribute.SafeValues flag,
String cdata) |
Element_a_spanstyle(TypedSubstantial<Extension>... 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_a_spanstyle |
checkRequiredAttrs() |
void |
encode(EncodingOutputStream out,
Extension ext)
Abstract fall-back method which MUST be overridden and always throws an Exception.
|
Element_a_spanstyle.Attr_a_style |
getAttr_a_style() |
List<Element_a_spanstyle.Content> |
getContent()
Returns the current content.
|
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) |
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_a_spanstyle |
parse(SAXEventStream in,
Extension ext,
TypedNode.ParseListener<Element> listener) |
Element_a_spanstyle.Attr_a_style |
readAttr_a_style() |
void |
set()
Set all contents fields to a new value, after checking.
|
void |
setContent(Element_a_spanstyle.Content... content)
Change contents to the given values.
|
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
@User public final CheckedList<Element_a_spanstyle.Content> content
@User public static final Element_a_spanstyle.Content[] EMPTY_CONTENT
public static final String TAG_NAME
public static final NamespaceName name
{http://bandm.eu/doctypes/d2d_gp/basic}a:spanstyle.@User public Element_a_spanstyle(Element_a_spanstyle.Content... content) throws TdomAttributeMissingException, TdomAttributeSyntaxException
TdomContentException can not occur.
initAttrs() to set the values for the required
attribute a_style.IllegalArgumentException - if any input to contents is null.TdomAttributeMissingException - if no value for required attribute
a_style is set explicitly.TdomAttributeSyntaxExceptionpublic Element_a_spanstyle(TypedAttribute.SafeValues flag, Element_a_spanstyle.Content... content) throws TdomAttributeMissingException
TdomAttributeMissingException@User public Element_a_spanstyle(String cdata) throws TdomAttributeMissingException, TdomAttributeSyntaxException
TdomContentException can not occur.
initAttrs() to set the values for the required
attribute a_style.IllegalArgumentException - if any input to contents is null.TdomAttributeMissingException - if no value for required attribute
a_style is set explicitly.TdomAttributeSyntaxException@User public Element_a_spanstyle(TypedAttribute.SafeValues flag, String cdata) throws TdomAttributeMissingException
TdomAttributeMissingException@SafeVarargs @User public Element_a_spanstyle(@Opt Attributes attrs, TypedSubstantial<Extension>... content) throws TdomAttributeMissingException, 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.TdomAttributeMissingException - if there is no value contained in
param attrs nor set in initAttrs() for required
attribute a_style.TdomAttributeSyntaxException@SafeVarargs @User public Element_a_spanstyle(TypedSubstantial<Extension>... content) throws TdomAttributeMissingException, TdomAttributeSyntaxException, TdomContentException
initAttrs() to set the values for the required
attribute a_style.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.TdomAttributeMissingException - if no value for required attribute
a_style is set explicitly.TdomAttributeSyntaxException@User public Element_a_spanstyle() throws TdomAttributeMissingException, TdomAttributeSyntaxException
TdomContentException can not occur.
initAttrs() to set the values for the required
attribute a_style. TdomAttributeMissingException - if no value for required attribute
a_style is set explicitly.TdomAttributeSyntaxException@User public void set()
TdomContentException can not
occur.IllegalArgumentException - if any input to contents is null.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_a_spanstyle.Attr_a_style getAttr_a_style()
readAttr_a_style() should be
used.)@User public final Element_a_spanstyle.Attr_a_style readAttr_a_style()
getAttr_a_style() must be used.)protected TypedAttribute[] __getAllAttrs()
__getAllAttrs in class TypedElement<Element,Extension>@User public void setContent(Element_a_spanstyle.Content... content)
IllegalArgumentException - if a null value is found in the
intended contents.@User public List<Element_a_spanstyle.Content> getContent()
getContent in interface TypedElement.MixedContentContainerprotected void initAttrs(Attributes attrs)
initAttrs().initAttrs in class TypedElement<Element,Extension>attrs - collection of (possibly superfluous, undeclared) SAX encoded
attribute values.public static Element_a_spanstyle parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomXmlException, TdomContentException, TdomAttributeException
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_a_spanstyle checkRequiredAttrs() throws TdomAttributeMissingException
TdomAttributeMissingException@User public static TypedDTD.ElementInfo getInterfaceInfo()
see also the complete user documentation .