@User public abstract class IdRefAttribute extends NmTokenAttribute
IDREF" type, which holds as its
value a single id value.
See [XML 1.0],
"3.3.1 Attribute Types".TypedAttribute.__PreAtts, TypedAttribute.SafeValuesTypedNode.ParseListener<E extends TypedElement<?,?>>__preAtts, emptyAttributes, mutable, safeValues, specified, value| Modifier | Constructor and Description |
|---|---|
protected |
IdRefAttribute() |
protected |
IdRefAttribute(@Opt String value) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValue(@Opt String value)
Check routine for the validity of the attributes' intended value.
|
String |
getTypeString()
The definition text for the "type" of the attribute in the original DTD.
|
<E extends TypedElement<E,X>,X extends TypedExtension> |
getValue(ElementDictionary<? extends E,X> dict)
Look up the element for the current value of this.
|
_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 IdRefAttribute()
protected IdRefAttribute(@Opt @Opt String value) throws TdomAttributeSyntaxException
TdomAttributeSyntaxExceptionprotected void checkValue(@Opt @Opt String value) throws TdomAttributeSyntaxException
TypedAttribute#set_value(V) method.
The value null means "absent" for #IMPLIED attributes and passes the test.checkValue in class NmTokenAttributevalue - the value to test; maybe null.TdomAttributeSyntaxException - iff the value does not match the type of the
XML attribute, including a forbidden Null.public String getTypeString()
TypedAttributegetTypeString in class NmTokenAttribute@User @Opt public <E extends TypedElement<E,X>,X extends TypedExtension> E getValue(ElementDictionary<? extends E,X> dict)
dict - The dictionary to use.see also the complete user documentation .