Package eu.bandm.tools.option.absy
Class Element_text.Attr_lang
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedNode<TypedExtension>
eu.bandm.tools.tdom.runtime.TypedAttribute<String>
eu.bandm.tools.tdom.runtime.NmTokenAttribute
eu.bandm.tools.option.absy.Element_text.Attr_lang
- Enclosing class:
Element_text
@Undocumented
public static class Element_text.Attr_lang
extends NmTokenAttribute
implements Visitable<Visitor>, Matchable<Matcher>
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedAttribute
TypedAttribute.__PreAtts, TypedAttribute.SafeValuesNested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedNode
TypedNode.ParseListener<E extends TypedElement<?,?>> -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Stringstatic final NamespaceNameName of the attribute, as defined in the DTD plus tdom PI namespace declarations.static final Element_text.Attr_langFields inherited from class eu.bandm.tools.tdom.runtime.TypedAttribute
__preAtts, emptyAttributes, mutable, safeValues, specified, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThe overriding method throws the exception if this attribute is required but missing when initializing the tdom instance.static Element_text.Attr_langCreate a new instance, its value picked from the W3C DOM instance.static Element_text.Attr_langfrom(Attributes attrs) Create a new instance, its value picked from the SAX attribute container.final StringMethod to read the contents of field defaultValue.static TypedDTD.AttributeInfofinal NamespaceNameMethod to read the contents of field namespaceName.voidSend the visitor to this instance.voidfinal booleanisFixed()Returns whether the attribute is declared as "#FIXED" in the DTD.final booleanReturns whether the attribute is declared as "#IMPLIED" in the DTD.Methods inherited from class eu.bandm.tools.tdom.runtime.NmTokenAttribute
checkValue, encode, getStringValue, getTypeStringMethods inherited from class eu.bandm.tools.tdom.runtime.TypedAttribute
assertSetAttrValid, assertSetAttrValid, clearValue, find, find, getLocalName, getNamespaceURI, getStringValue, getTagName, getValue, isRequired, isSpecified, makeUnspecified, put, setValueMethods inherited from class eu.bandm.tools.tdom.runtime.TypedNode
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, encode, encodeOptional, encodePlus, encodePlus, encodeStar, encodeStar, extractEthereals, getLocation, getPCData, setLocation, setLocation, setLocation
-
Field Details
-
namespaceName
Name of the attribute, as defined in the DTD plus tdom PI namespace declarations. -
defaultValue
-
unspecified
-
-
Constructor Details
-
Attr_lang
Attr_lang() -
Attr_lang
Attr_lang(String value) throws TdomAttributeSyntaxException - Throws:
TdomAttributeSyntaxException
-
-
Method Details
-
host
Description copied from interface:VisitableSend the visitor to this instance. -
identify
-
getNamespaceName
Method to read the contents of field namespaceName. @see #namespaceName- Specified by:
getNamespaceNamein classTypedAttribute<String>- Returns:
- the namespace name of the XML attribute.
-
checkRequired
Description copied from class:TypedAttributeThe overriding method throws the exception if this attribute is required but missing when initializing the tdom instance.- Specified by:
checkRequiredin classTypedAttribute<String>- Throws:
TdomAttributeMissingException
-
from
@Undocumented public static Element_text.Attr_lang from(Element dom) throws TdomAttributeSyntaxException Create a new instance, its value picked from the W3C DOM instance. (If no value is specified, take the default value from the DTD.)- Throws:
TdomAttributeSyntaxException
-
from
@Undocumented public static Element_text.Attr_lang from(Attributes attrs) throws TdomAttributeSyntaxException Create a new instance, its value picked from the SAX attribute container. (If no value is specified, take the default value from the DTD.)- Throws:
TdomAttributeSyntaxException
-
isOptional
public final boolean isOptional()Description copied from class:TypedAttributeReturns whether the attribute is declared as "#IMPLIED" in the DTD. Will be overridden by the generated code.- Specified by:
isOptionalin classTypedAttribute<String>- Returns:
- whether the attribute is declared as "
#IMPLIED" in the DTD.
-
isFixed
public final boolean isFixed()Description copied from class:TypedAttributeReturns whether the attribute is declared as "#FIXED" in the DTD. Will be overridden by the generated code.- Specified by:
isFixedin classTypedAttribute<String>- Returns:
- whether the attribute is declared as "
#FIXED" in the DTD.
-
getDefaultValue
Method to read the contents of field defaultValue. @see #defaultValue- Specified by:
getDefaultValuein classTypedAttribute<String>- Returns:
- the default value defined in the DTD.
-
getInterfaceInfo
-