public final class NameAwareAttributes extends Object implements Attributes
| Constructor and Description |
|---|
NameAwareAttributes()
Create an empty instance
|
NameAwareAttributes(Attributes attributes)
Create a new instance, populated with the data from the supplied instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object o) |
NameAwareAttribute |
get(String attrID) |
NamingEnumeration<NameAwareAttribute> |
getAll() |
NamingEnumeration<String> |
getIDs() |
int |
hashCode() |
boolean |
isCaseIgnored() |
Attribute |
put(Attribute attr) |
Attribute |
put(String attrID,
Object val) |
Attribute |
remove(String attrID) |
int |
size() |
String |
toString() |
public NameAwareAttributes()
public NameAwareAttributes(Attributes attributes)
attributes - the instance to copy.public boolean isCaseIgnored()
isCaseIgnored in interface Attributespublic int size()
size in interface Attributespublic NameAwareAttribute get(String attrID)
get in interface Attributespublic NamingEnumeration<NameAwareAttribute> getAll()
getAll in interface Attributespublic NamingEnumeration<String> getIDs()
getIDs in interface Attributespublic Attribute put(String attrID, Object val)
put in interface Attributespublic Attribute put(Attribute attr)
put in interface Attributespublic Attribute remove(String attrID)
remove in interface Attributespublic Object clone()
clone in interface Attributesclone in class Object