public class AttributesMap extends Object implements Attributes, Dumpable
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, wait
dump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, named
public AttributesMap()
public AttributesMap(AttributesMap attributes)
public void removeAttribute(String name)
removeAttribute
in interface Attributes
public void setAttribute(String name, Object attribute)
setAttribute
in interface Attributes
public Object getAttribute(String name)
getAttribute
in interface Attributes
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface Attributes
public static Enumeration<String> getAttributeNamesCopy(Attributes attrs)
public void clearAttributes()
clearAttributes
in interface Attributes
public int size()
public void addAll(Attributes attributes)
public void dump(Appendable out, String indent) throws IOException
Dumpable
dump
in interface Dumpable
out
- 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