Class Attr_ypos
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedNode<TypedExtension>
eu.bandm.tools.tdom.runtime.TypedAttribute<Integer>
eu.bandm.tools.tdom.runtime.SelectedIntegersAttribute
eu.bandm.music.applications.deutscheLaute.xml.Attr_ypos
@Undocumented
public class Attr_ypos
extends SelectedIntegersAttribute
implements Visitable<Visitor>, Matchable<Matcher>
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedAttribute
TypedAttribute.__PreAtts, TypedAttribute.SafeValues
Nested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedNode
TypedNode.ParseListener<E extends TypedElement<?,
?>> -
Field Summary
Modifier and TypeFieldDescription(package private) static final Integer
static final eu.bandm.tools.util.xml.NamespaceName
Name of the attribute, as defined in the DTD plus tdom PI namespace declarations.static final Attr_ypos
Fields inherited from class eu.bandm.tools.tdom.runtime.TypedAttribute
__preAtts, emptyAttributes, mutable, safeValues, specified, value
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
The overriding method throws the exception if this attribute is required but missing when initializing the tdom instance.static Attr_ypos
Create a new instance, its value picked from the W3C DOM instance.static Attr_ypos
from
(Attributes attrs) Create a new instance, its value picked from the SAX attribute container.final Integer
Returns the default value defined in the DTD.static TypedDTD.AttributeInfo
final eu.bandm.tools.util.xml.NamespaceName
Returns the namespace name of the XML attribute.DOCMEvoid
Send the visitor to this instance.void
final boolean
isFixed()
Returns whether the attribute is declared as "#FIXED
" in the DTD.final boolean
Returns whether the attribute is declared as "#IMPLIED
" in the DTD.Methods inherited from class eu.bandm.tools.tdom.runtime.SelectedIntegersAttribute
checkValue, encode, getMax, getMin, getStringValue, getTypeString, isValid, parse, parse
Methods inherited from class eu.bandm.tools.tdom.runtime.TypedAttribute
assertSetAttrValid, assertSetAttrValid, clearValue, find, find, getLocalName, getNamespaceURI, getStringValue, getTagName, getValue, isRequired, isSpecified, makeUnspecified, put, setValue
Methods 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
-
validInts
-
namespaceName
Name of the attribute, as defined in the DTD plus tdom PI namespace declarations. -
defaultValue
-
unspecified
-
-
Constructor Details
-
Attr_ypos
Attr_ypos() -
Attr_ypos
Attr_ypos(Integer value) throws TdomAttributeSyntaxException - Throws:
TdomAttributeSyntaxException
-
Attr_ypos
Attr_ypos(String value) throws TdomAttributeSyntaxException - Throws:
TdomAttributeSyntaxException
-
-
Method Details
-
getValidInts
Description copied from class:eu.bandm.tools.tdom.runtime.SelectedIntegersAttribute
DOCME- Specified by:
getValidInts
in classSelectedIntegersAttribute
-
host
Description copied from interface:eu.bandm.tools.tdom.runtime.Visitable
Send the visitor to this instance. -
identify
-
getNamespaceName
public final eu.bandm.tools.util.xml.NamespaceName getNamespaceName()Description copied from class:eu.bandm.tools.tdom.runtime.TypedAttribute
Returns the namespace name of the XML attribute.- Specified by:
getNamespaceName
in classTypedAttribute<Integer>
- Returns:
- the namespace name of the XML attribute.
-
checkRequired
Description copied from class:eu.bandm.tools.tdom.runtime.TypedAttribute
The overriding method throws the exception if this attribute is required but missing when initializing the tdom instance.- Specified by:
checkRequired
in classTypedAttribute<Integer>
- Throws:
TdomAttributeMissingException
-
from
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
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.TypedAttribute
Returns whether the attribute is declared as "#IMPLIED
" in the DTD. Will be overridden by the generated code.- Specified by:
isOptional
in classTypedAttribute<Integer>
- 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.TypedAttribute
Returns whether the attribute is declared as "#FIXED
" in the DTD. Will be overridden by the generated code.- Specified by:
isFixed
in classTypedAttribute<Integer>
- Returns:
- whether the attribute is declared as "
#FIXED
" in the DTD.
-
getDefaultValue
Description copied from class:eu.bandm.tools.tdom.runtime.TypedAttribute
Returns the default value defined in the DTD.- Specified by:
getDefaultValue
in classTypedAttribute<Integer>
- Returns:
- the default value defined in the DTD.
-
getInterfaceInfo
-