@User public static class Element_enumitem.Attr_compilable extends NmTokenAttribute implements Visitable<Visitor>, Matchable<Matcher>, ImpliedAttribute
@value
is not. TypedAttribute.__PreAtts, TypedAttribute.SafeValuesTypedNode.ParseListener<E extends TypedElement<?,?>>| Modifier and Type | Field and Description |
|---|---|
static NamespaceName |
namespaceName
Name of the attribute, as defined in the DTD plus tdom PI namespace declarations.
|
static Element_enumitem.Attr_compilable |
unspecified |
__preAtts, emptyAttributes, mutable, safeValues, specified, value| Modifier and Type | Method and Description |
|---|---|
void |
checkRequired()
The overriding method throws the exception if this attribute is required but missing
when initializing the tdom instance.
|
static Element_enumitem.Attr_compilable |
from(Attributes attrs)
Create a new instance, its value picked from the SAX attribute
container.
|
static Element_enumitem.Attr_compilable |
from(Element dom)
Create a new instance, its value picked from the W3C DOM instance.
|
String |
getDefaultValue()
Method to read the contents of field defaultValue.
|
static TypedDTD.AttributeInfo |
getInterfaceInfo() |
NamespaceName |
getNamespaceName()
Method to read the contents of field namespaceName.
|
void |
host(Visitor visitor)
Send the visitor to this instance.
|
void |
identify(Matcher matcher) |
boolean |
isFixed()
Returns whether the attribute is declared as "
#FIXED" in the DTD. |
boolean |
isOptional()
Returns whether the attribute is declared as "
#IMPLIED" in the DTD. |
_checkToken, checkNameToken, checkNCName, checkNmToken, checkPITarget, checkValue, encode, getStringValue, getTypeStringassertSetAttrValid, clearValue, find, find, getLocalName, getNamespaceURI, getStringValue, getTagName, getValue, isRequired, isSpecified, makeUnspecified, put, setValueasBigDecimal, 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, encode, encodeOptional, encodePlus, encodePlus, encodeStar, encodeStar, extractEthereals, getLocation, getPCData, setLocation, setLocation, setLocation@User public static final NamespaceName namespaceName
public static final Element_enumitem.Attr_compilable unspecified
public void host(Visitor visitor)
Visitablepublic void identify(Matcher matcher)
public final NamespaceName getNamespaceName()
getNamespaceName in class TypedAttribute<String>public void checkRequired()
TypedAttributecheckRequired in class TypedAttribute<String>@User public static Element_enumitem.Attr_compilable from(Element dom) throws TdomAttributeSyntaxException
TdomAttributeSyntaxException@User public static Element_enumitem.Attr_compilable from(Attributes attrs) throws TdomAttributeSyntaxException
TdomAttributeSyntaxExceptionpublic final boolean isOptional()
TypedAttribute#IMPLIED" in the DTD.
Will be overridden by the generated code.isOptional in class TypedAttribute<String>#IMPLIED" in the DTD.public final boolean isFixed()
TypedAttribute#FIXED" in the DTD.
Will be overridden by the generated code.isFixed in class TypedAttribute<String>#FIXED" in the DTD.public final String getDefaultValue()
getDefaultValue in class TypedAttribute<String>public static TypedDTD.AttributeInfo getInterfaceInfo()
see also the complete user documentation .