public abstract class AppendingAttributes extends Object implements Attributes
Attributes which delegates to a given
Attributes instance while adding some
attributes to the list if already not present, or replacing the existing
values if such attributes are present.| Modifier and Type | Field and Description |
|---|---|
protected Attributes |
delegate |
| Constructor and Description |
|---|
AppendingAttributes(Attributes delegate) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
clone() |
Attribute |
get(String attrID) |
NamingEnumeration<? extends Attribute> |
getAll() |
protected abstract Set<String> |
getAttributeIDsToAppend() |
protected abstract Attribute |
getAttributeToAppend(String attrID) |
NamingEnumeration<String> |
getIDs() |
boolean |
isCaseIgnored() |
Attribute |
put(Attribute attr) |
Attribute |
put(String attrID,
Object val) |
Attribute |
remove(String attrID) |
int |
size() |
protected final Attributes delegate
public AppendingAttributes(Attributes delegate)
public abstract Object clone()
clone in interface Attributesclone in class Objectpublic final Attribute get(String attrID)
get in interface Attributespublic final NamingEnumeration<? extends Attribute> getAll()
getAll in interface Attributespublic final NamingEnumeration<String> getIDs()
getIDs in interface Attributespublic final boolean isCaseIgnored()
isCaseIgnored in interface Attributespublic final Attribute put(Attribute attr)
put in interface Attributespublic final Attribute put(String attrID, Object val)
put in interface Attributespublic final Attribute remove(String attrID)
remove in interface Attributespublic final int size()
size in interface AttributesCopyright © 2018–2025. All rights reserved.