Class Element_duratio.Attr_trabes
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedNode<TypedExtension>
eu.bandm.tools.tdom.runtime.TypedAttribute<Element_duratio.Attr_trabes.Value>
eu.bandm.tools.tdom.runtime.EnumerationAttribute<Element_duratio.Attr_trabes.Value>
eu.bandm.music.applications.deutscheLaute.xml.Element_duratio.Attr_trabes
- All Implemented Interfaces:
ImpliedAttribute,Matchable<Matcher>,Visitable<Visitor>
- Enclosing class:
Element_duratio
@Undocumented
public static class Element_duratio.Attr_trabes
extends EnumerationAttribute<Element_duratio.Attr_trabes.Value>
implements Visitable<Visitor>, Matchable<Matcher>, ImpliedAttribute
-
Nested Class Summary
Nested ClassesNested 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 Element_duratio.Attr_trabes.Valuestatic final NamespaceNameName of the attribute, as defined in the DTD plus tdom PI namespace declarations.static final Element_duratio.Attr_trabesFields 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_duratio.Attr_trabesCreate a new instance, its value picked from the W3C DOM instance.static Element_duratio.Attr_trabesfrom(Attributes attrs) Create a new instance, its value picked from the SAX attribute container.Returns the default value defined in the DTD.static TypedDTD.AttributeInfofinal NamespaceNameReturns the namespace name of the XML attribute.protected final Class<Element_duratio.Attr_trabes.Value> Will be overridden in the generated code by a method which returns the dedicated value class.protected final HashMap<String, ? extends Element_duratio.Attr_trabes.Value> Returns a map from the external representations as appearing in the DTD to the enumeration items of the value's type.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.voidSet the value of this attribute.Methods inherited from class eu.bandm.tools.tdom.runtime.EnumerationAttribute
checkValue, encode, find, getStringValue, getTypeString, setValue, setValueMethods inherited from class eu.bandm.tools.tdom.runtime.TypedAttribute
assertSetAttrValid, assertSetAttrValid, clearValue, find, find, getLocalName, getNamespaceURI, getStringValue, getTagName, getValue, isRequired, isSpecified, makeUnspecified, putMethods 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_trabes
Attr_trabes() -
Attr_trabes
Attr_trabes(@Opt @Opt Element_duratio.Attr_trabes.Value value) throws TdomAttributeSyntaxException - Throws:
TdomAttributeSyntaxException
-
Attr_trabes
Attr_trabes(@Opt @Opt String value) throws TdomAttributeSyntaxException - Throws:
TdomAttributeSyntaxException
-
-
Method Details
-
host
Description copied from interface:eu.bandm.tools.tdom.runtime.VisitableSend the visitor to this instance. -
identify
-
getNamespaceName
Description copied from class:eu.bandm.tools.tdom.runtime.TypedAttributeReturns the namespace name of the XML attribute.- Specified by:
getNamespaceNamein classTypedAttribute<Element_duratio.Attr_trabes.Value>- Returns:
- the namespace name of the XML attribute.
-
setValue
Description copied from class:eu.bandm.tools.tdom.runtime.TypedAttributeSet the value of this attribute. This method is only guaranteed to succeed if this instance has been returned by the generated method "getAttr_XXX()". The instance returned by a call to "readAttr_XXX()" is possibly the shared prototype, which will throw an exception when trying to set the value.- Overrides:
setValuein classTypedAttribute<Element_duratio.Attr_trabes.Value>- Parameters:
v- maybe null, which sets the attribute to "not specified when initializing the document", if it is declared #IMPLIED.
-
checkRequired
public void checkRequired()Description copied from class:eu.bandm.tools.tdom.runtime.TypedAttributeThe overriding method throws the exception if this attribute is required but missing when initializing the tdom instance.- Specified by:
checkRequiredin classTypedAttribute<Element_duratio.Attr_trabes.Value>
-
from
@Undocumented public static Element_duratio.Attr_trabes 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_duratio.Attr_trabes 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:eu.bandm.tools.tdom.runtime.TypedAttributeReturns whether the attribute is declared as "#IMPLIED" in the DTD. Will be overridden by the generated code.- Specified by:
isOptionalin classTypedAttribute<Element_duratio.Attr_trabes.Value>- Returns:
- whether the attribute is declared as "
#IMPLIED" in the DTD.
-
isFixed
public final boolean isFixed()Description copied from class:eu.bandm.tools.tdom.runtime.TypedAttributeReturns whether the attribute is declared as "#FIXED" in the DTD. Will be overridden by the generated code.- Specified by:
isFixedin classTypedAttribute<Element_duratio.Attr_trabes.Value>- Returns:
- whether the attribute is declared as "
#FIXED" in the DTD.
-
getValueMap
Description copied from class:eu.bandm.tools.tdom.runtime.EnumerationAttributeReturns a map from the external representations as appearing in the DTD to the enumeration items of the value's type. Will be overridden by the generated code.- Specified by:
getValueMapin classEnumerationAttribute<Element_duratio.Attr_trabes.Value>
-
getValueClass
Description copied from class:eu.bandm.tools.tdom.runtime.EnumerationAttributeWill be overridden in the generated code by a method which returns the dedicated value class.- Specified by:
getValueClassin classEnumerationAttribute<Element_duratio.Attr_trabes.Value>- Returns:
- the Class object for the values of this attribute.
-
getDefaultValue
Description copied from class:eu.bandm.tools.tdom.runtime.TypedAttributeReturns the default value defined in the DTD.- Specified by:
getDefaultValuein classTypedAttribute<Element_duratio.Attr_trabes.Value>- Returns:
- the default value defined in the DTD.
-
getInterfaceInfo
-