public class AttributesMap extends Object implements Attributes, Dumpable
Attributes.Wrapper| Constructor and Description |
|---|
AttributesMap() |
AttributesMap(AttributesMap attributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(Attributes attributes) |
void |
clearAttributes() |
String |
dump() |
void |
dump(Appendable out,
String indent)
Dump this object (and children) into an Appendable using the provided indent after any new lines.
|
Object |
getAttribute(String name) |
Set<Map.Entry<String,Object>> |
getAttributeEntrySet() |
Enumeration<String> |
getAttributeNames() |
static Enumeration<String> |
getAttributeNamesCopy(Attributes attrs) |
Set<String> |
getAttributeNameSet() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object attribute) |
int |
size() |
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitunwrapdump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, namedpublic AttributesMap()
public AttributesMap(AttributesMap attributes)
public void removeAttribute(String name)
removeAttribute in interface Attributespublic void setAttribute(String name, Object attribute)
setAttribute in interface Attributespublic Object getAttribute(String name)
getAttribute in interface Attributespublic Enumeration<String> getAttributeNames()
getAttributeNames in interface Attributespublic Set<String> getAttributeNameSet()
getAttributeNameSet in interface Attributespublic static Enumeration<String> getAttributeNamesCopy(Attributes attrs)
public void clearAttributes()
clearAttributes in interface Attributespublic int size()
public void addAll(Attributes attributes)
public void dump(Appendable out, String indent) throws IOException
Dumpabledump in interface Dumpableout - The appendable to dump toindent - The indent to apply after any new lines.IOException - if unable to write to AppendableCopyright © 2010 - 2020 Adobe. All Rights Reserved