Returns the attribute value which this attribute set contains in the
given attribute category. Returns
null if this attribute set
does not contain any attribute value in the given attribute category.
Returns:
The attribute value in the given attribute category contained
in this attribute set, or
null if this attribute set
does not contain any attribute value in the given attribute
category.
Parameters:
-
category - Attribute category whose associated attribute value
is to be returned. It must be a
{@link java.lang.Class Class}
that implements interface {@link Attribute
Attribute}.
Throws:
-
NullPointerException - (unchecked exception) Thrown if the
category
is null.
-
ClassCastException - (unchecked exception) Thrown if the
category
is not a
{@link java.lang.Class Class} that implements interface {@link
Attribute Attribute}.