| org.apache.ivy.util.extendable.ExtendableItem
All known Subclasses: org.apache.ivy.util.extendable.UnmodifiableExtendableItem,
ExtendableItem | public interface ExtendableItem (Code) | | |
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.
The Map keys are attribute names as Strings, and values are corresponding attribute values
(as String too). | 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)
Parameters: attName - the name of the extra attribute to get. | 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.
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. | String | getStandardAttribute(String attName) | Map | getStandardAttributes() Returns a Map of all standard attributes of this extendable item. |
getAttribute | String getAttribute(String attName)(Code) | | 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.
Parameters: attName - the name of the attribute to get the value of the attribute, null if the attribute doesn't exist |
getAttributes | Map getAttributes()(Code) | | Returns a Map of all attributes of this extendable item, including standard and extra ones.
The Map keys are attribute names as Strings, and values are corresponding attribute values
(as String too). Extra attributes are included in unqualified form only.
A Map instance containing all the attributes and their values. |
getExtraAttribute | String getExtraAttribute(String attName)(Code) | | 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)
Parameters: attName - the name of the extra attribute to get. This name can be either qualified orunqualified. the value of the attribute, null if the attribute doesn't exist |
getExtraAttributes | Map getExtraAttributes()(Code) | | Returns a Map of all extra attributes of this extendable item. The Map keys are
unqualified attribute names as Strings, and values are corresponding attribute values
(as String too)
A Map instance containing all the extra attributes and their values. See Also: ExtendableItem.getQualifiedExtraAttributes() |
getQualifiedExtraAttributes | Map getQualifiedExtraAttributes()(Code) | | Returns a Map of all extra attributes of this extendable item.
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
A Map instance containing all the extra attributes and their values. See Also: ExtendableItem.getExtraAttributes() |
getStandardAttribute | String getStandardAttribute(String attName)(Code) | | Gets the value of a standard attribute Can be used only to access the value of a standard
attribute (like organisation, revision), not an extra one
Parameters: attName - the name of the standard attribute to get the value of the attribute, null if the attribute doesn't exist |
getStandardAttributes | Map getStandardAttributes()(Code) | | Returns a Map of all standard attributes of this extendable item. The Map keys are attribute
names as Strings, and values are corresponding attribute values (as String too)
A Map instance containing all the standard attributes and their values. |
|
|