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 Attributes
public int size()
size
in interface Attributes
public NameAwareAttribute get(String attrID)
get
in interface Attributes
public NamingEnumeration<NameAwareAttribute> getAll()
getAll
in interface Attributes
public NamingEnumeration<String> getIDs()
getIDs
in interface Attributes
public Attribute put(String attrID, Object val)
put
in interface Attributes
public Attribute put(Attribute attr)
put
in interface Attributes
public Attribute remove(String attrID)
remove
in interface Attributes
public Object clone()
clone
in interface Attributes
clone
in class Object