public interface AttributeSet
Attribute
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.Object attr) |
Attribute |
getAttribute(java.lang.String attrName)
Returns a single attribute that exactly matches the specified attribute name.
|
Attribute |
getAttribute(java.lang.String attrName,
java.lang.String lang)
Returns the subtype that matches the attribute name specified by attrName and the language specificaton identified by lang.
|
AttributeSet |
getSubset(java.lang.String subtype)
Creates a new attribute set containing only the attributes that have the specified subtypes.
|
boolean |
isEmpty()
Reports if the Attribute set has Attributes
|
java.lang.String |
toString()
Retrieves the string representation of all attributes in the attribute set.
|
boolean contains(java.lang.Object attr)
Attribute getAttribute(java.lang.String attrName)
attrName
- name of attribute to returnAttribute
Attribute getAttribute(java.lang.String attrName, java.lang.String lang)
attrName
- name of attribute to find in the entrylang
- a language specificationAttributeSet getSubset(java.lang.String subtype)
subtype
- semi-colon delimited list of subtypes to find within attribute names.boolean isEmpty()
Attribute
java.lang.String toString()
toString
in class java.lang.Object