@User public abstract class IdRefsAttribute extends NmTokensAttribute
IDREFS
" type, which holds as its
value a list of id values. This must match the "Names" production [6]
from [XML 1.0].
See also the section "3.3.1 Attribute Types".
See NmTokenAttribute.checkNmToken(String)
and
NmTokenAttributes#splitValues(String)
for details of these definitions.
TypedAttribute.__PreAtts, TypedAttribute.SafeValues
TypedNode.ParseListener<E extends TypedElement<?,?>>
__preAtts, emptyAttributes, mutable, safeValues, specified, value
Modifier | Constructor and Description |
---|---|
protected |
IdRefsAttribute() |
protected |
IdRefsAttribute(@Opt List<String> value) |
protected |
IdRefsAttribute(@Opt String value) |
Modifier and Type | Method and Description |
---|---|
String |
getTypeString()
The definition text for the "type" of the attribute in the original DTD.
|
<E extends TypedElement<E,X>,X extends TypedExtension> |
getValues(ElementDictionary<E,X> dict)
Look up the elements for the current value of this.
|
protected boolean |
mustBeNameToken()
Overridden by subclass.
|
checkValue, encode, findSplit, getStringValue, splitValues
assertSetAttrValid, checkRequired, clearValue, find, find, getDefaultValue, getLocalName, getNamespaceName, getNamespaceURI, getStringValue, getTagName, getValue, isFixed, isOptional, isRequired, isSpecified, makeUnspecified, put, setValue
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
protected IdRefsAttribute()
protected IdRefsAttribute(@Opt @Opt List<String> value) throws TdomAttributeSyntaxException
TdomAttributeSyntaxException
protected IdRefsAttribute(@Opt @Opt String value) throws TdomAttributeSyntaxException
TdomAttributeSyntaxException
public String getTypeString()
TypedAttribute
getTypeString
in class NmTokensAttribute
protected final boolean mustBeNameToken()
NmTokensAttribute
mustBeNameToken
in class NmTokensAttribute
@User public <E extends TypedElement<E,X>,X extends TypedExtension> List<E> getValues(ElementDictionary<E,X> dict)
dict
- The dictionary to use.see also the complete user documentation .