@User public abstract class IdAttribute extends NmTokenAttribute
ID" type, which holds as its
value a single id value.
See [XML 1.0],
"3.3.1 Attribute Types".
(This value must be unique in the whole TypedDocument, which must
be checked explicitly by the user. This is supported by the aux class
ElementDictionary.)TypedAttribute.__PreAtts, TypedAttribute.SafeValuesTypedNode.ParseListener<E extends TypedElement<?,?>>__preAtts, emptyAttributes, mutable, safeValues, specified, value| Modifier | Constructor and Description |
|---|---|
protected |
IdAttribute() |
protected |
IdAttribute(@Opt String value) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValue(@Opt String value)
Check whether the value matches the syntactical rules for XML Names.
|
String |
getTypeString()
The definition text for the "type" of the attribute in the original DTD.
|
_checkToken, checkNameToken, checkNCName, checkNmToken, checkPITarget, encode, getStringValueassertSetAttrValid, checkRequired, clearValue, find, find, getDefaultValue, getLocalName, getNamespaceName, getNamespaceURI, getStringValue, getTagName, getValue, isFixed, isOptional, 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, setLocationprotected IdAttribute()
protected IdAttribute(@Opt @Opt String value) throws TdomAttributeSyntaxException
TdomAttributeSyntaxExceptionprotected void checkValue(@Opt @Opt String value) throws TdomAttributeSyntaxException
NmTokenAttribute#checNmToken(String,boolean) for details of these rules.checkValue in class NmTokenAttributevalue - the value to test. null passes.TdomAttributeSyntaxException - iff the value does not match the type of the
XML attribute, including a forbidden Null.public String getTypeString()
TypedAttributegetTypeString in class NmTokenAttributesee also the complete user documentation .