public class Attributes extends java.util.TreeMap<java.lang.String,java.lang.Object> implements IAttributes
| Constructor and Description |
|---|
Attributes() |
| Modifier and Type | Method and Description |
|---|---|
<O> O |
getAttribute(java.lang.String identifier)
Returns the attribute
|
java.util.Set<java.lang.String> |
getAttributeNames()
Returns the attribute names.
|
Parameter |
getAttributeParameter(java.lang.String identifier)
Return the parameter definition or
null if the attribute is not
defined as parameter. |
Attributes |
getAttributes()
Returns the map of all pairs of attributes.
|
boolean |
isDefined(java.lang.String identifier)
Tests whether an attribute is defined.
|
boolean |
isParameter(java.lang.String identifier)
Returns
true if the attribute value is a parameter. |
void |
setAttribute(java.lang.String identifier,
java.lang.Object object)
Sets the attribute.
|
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuespublic <O> O getAttribute(java.lang.String identifier)
IAttributesgetAttribute in interface IAttributesO - the type of the attributeidentifier - the identifier of the attributepublic void setAttribute(java.lang.String identifier,
java.lang.Object object)
IAttributessetAttribute in interface IAttributesidentifier - the identifier of the attributeobject - the value of the attributepublic Attributes getAttributes()
IAttributesgetAttributes in interface IAttributespublic Parameter getAttributeParameter(java.lang.String identifier)
IAttributesnull if the attribute is not
defined as parameter.getAttributeParameter in interface IAttributesidentifier - the identifier of the attributepublic java.util.Set<java.lang.String> getAttributeNames()
IAttributesgetAttributeNames in interface IAttributespublic boolean isParameter(java.lang.String identifier)
true if the attribute value is a parameter.identifier - the identifiertrue if the attribute value is a parameterpublic boolean isDefined(java.lang.String identifier)
IAttributesisDefined in interface IAttributesidentifier - the identifier of the attributetrue if defined