public interface AttributeContainer
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(java.lang.Iterable<Attribute> atts)
Add all; replace old if has same name
|
Attribute |
addAttribute(Attribute att)
Add new or replace old if has same name
|
Attribute |
findAttribute(java.lang.String attName) |
Attribute |
findAttributeIgnoreCase(java.lang.String attName) |
java.lang.String |
findAttValueIgnoreCase(java.lang.String attName,
java.lang.String defaultValue)
Find a String-valued Attribute by Attribute name (ignore case), return the (string) value of the Attribute.
|
java.util.List<Attribute> |
getAttributes()
Returns the list of attributes for this variable.
|
java.lang.String |
getName() |
boolean |
remove(Attribute a)
Remove an Attribute : uses the attribute hashCode to find it.
|
boolean |
removeAttribute(java.lang.String attName)
Remove an Attribute by name.
|
boolean |
removeAttributeIgnoreCase(java.lang.String attName)
Remove an Attribute by name, ignoring case
|
java.util.List<Attribute> getAttributes()
void addAll(java.lang.Iterable<Attribute> atts)
Attribute addAttribute(Attribute att)
att - add this Attributejava.lang.String findAttValueIgnoreCase(java.lang.String attName,
java.lang.String defaultValue)
Attribute findAttribute(java.lang.String attName)
Attribute findAttributeIgnoreCase(java.lang.String attName)
java.lang.String getName()
boolean remove(Attribute a)
a - remove this attributeboolean removeAttribute(java.lang.String attName)
attName - if exists, remove this attributeboolean removeAttributeIgnoreCase(java.lang.String attName)
attName - if exists, remove this attribute