public interface ExtendableItem
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(java.lang.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.
|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Returns a Map of all attributes of this extendable item, including standard and extra ones.
|
java.lang.String |
getExtraAttribute(java.lang.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)
|
java.util.Map<java.lang.String,java.lang.String> |
getExtraAttributes()
Returns a Map of all extra attributes of this extendable item.
|
java.util.Map<java.lang.String,java.lang.String> |
getQualifiedExtraAttributes()
Returns a Map of all extra attributes of this extendable item.
|
java.lang.String getAttribute(java.lang.String attName)
attName
- the name of the attribute to getjava.lang.String getExtraAttribute(java.lang.String attName)
attName
- the name of the extra attribute to get. This name can be either qualified or
unqualified.java.util.Map<java.lang.String,java.lang.String> getAttributes()
java.util.Map<java.lang.String,java.lang.String> getExtraAttributes()
getQualifiedExtraAttributes()
java.util.Map<java.lang.String,java.lang.String> 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
getExtraAttributes()
Copyright ©2007-2022 The Apache Software Foundation, Licensed under Apache License, Version 2.0.