public class AttributesMap extends java.lang.Object implements Attributes, Dumpable
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicReference<java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object>> |
_map |
Constructor and Description |
---|
AttributesMap() |
AttributesMap(AttributesMap attributes) |
Modifier and Type | Method and Description |
---|---|
void |
addAll(Attributes attributes) |
void |
clearAttributes() |
java.lang.String |
dump() |
void |
dump(java.lang.Appendable out,
java.lang.String indent)
Dump this object (and children) into an Appendable using the provided indent after any new lines.
|
private java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> |
ensureMap() |
java.lang.Object |
getAttribute(java.lang.String name) |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
getAttributeEntrySet() |
java.util.Enumeration<java.lang.String> |
getAttributeNames() |
static java.util.Enumeration<java.lang.String> |
getAttributeNamesCopy(Attributes attrs) |
java.util.Set<java.lang.String> |
getAttributeNameSet() |
private java.util.Set<java.lang.String> |
keySet() |
private java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> |
map() |
void |
removeAttribute(java.lang.String name) |
void |
setAttribute(java.lang.String name,
java.lang.Object attribute) |
int |
size() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, named
private final java.util.concurrent.atomic.AtomicReference<java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object>> _map
public AttributesMap()
public AttributesMap(AttributesMap attributes)
private java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> map()
private java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> ensureMap()
public void removeAttribute(java.lang.String name)
removeAttribute
in interface Attributes
public void setAttribute(java.lang.String name, java.lang.Object attribute)
setAttribute
in interface Attributes
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface Attributes
public java.util.Enumeration<java.lang.String> getAttributeNames()
getAttributeNames
in interface Attributes
public java.util.Set<java.lang.String> getAttributeNameSet()
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> getAttributeEntrySet()
public static java.util.Enumeration<java.lang.String> getAttributeNamesCopy(Attributes attrs)
public void clearAttributes()
clearAttributes
in interface Attributes
public int size()
public java.lang.String toString()
toString
in class java.lang.Object
private java.util.Set<java.lang.String> keySet()
public void addAll(Attributes attributes)
public void dump(java.lang.Appendable out, java.lang.String indent) throws java.io.IOException
Dumpable