org.apache.ivy.util.extendable
public interface ExtendableItem
Method Summary | |
---|---|
String | getAttribute(String attName)
Gets the value of an attribute Can be used to access the value of a standard attribute (like
organisation, revision) or of an extra attribute.
|
Map | getAttributes()
Returns a Map of all attributes of this extendable item, including standard and extra ones.
|
String | getExtraAttribute(String attName)
Gets the value of an extra attribute Can be used only to access the value of an extra
attribute, not a standard one (like organisation, revision)
|
Map | getExtraAttributes()
Returns a Map of all extra attributes of this extendable item. |
Map | getQualifiedExtraAttributes()
Returns a Map of all extra attributes of this extendable item.
|
Parameters: attName the name of the attribute to get
Returns: the value of the attribute, null if the attribute doesn't exist
Returns: A Map instance containing all the attributes and their values.
Parameters: attName the name of the extra attribute to get. This name can be either qualified or unqualified.
Returns: the value of the attribute, null if the attribute doesn't exist
Returns: A Map instance containing all the extra attributes and their values.
See Also: getQualifiedExtraAttributes
The Map keys are qualified attribute names as Strings, and values are corresponding attribute values (as String too).
An attribute name is qualified with a namespace exactly the same way xml attributes are
qualified. Thus qualified attribute names are of the form prefix:name
Returns: A Map instance containing all the extra attributes and their values.
See Also: getExtraAttributes