@Deprecated public interface AttributeList
| Modifier and Type | Method and Description |
|---|---|
int |
attributeCount()
Deprecated.
Return the count of attributes
|
Iterator<String> |
attributeNames()
Deprecated.
Return the list of attribute names
|
boolean |
containsAttribute(String name)
Deprecated.
Return a flag indicating whether a specified attribute exists
|
char |
getQuoteChar(String name)
Deprecated.
Return an attribute's quote character, given its name or
0
if the attribute cannot be found. |
String |
getQuotedValue(String name)
Deprecated.
Return an attribute's value, already surrounded with the quotes
originally in place.
|
String |
getValue(String name)
Deprecated.
Return an attribute's value, given its name or
null
if the attribute cannot be found. |
boolean |
isModified()
Deprecated.
Return a flag indicating whether this object was modified.
|
void |
removeValue(String name)
Deprecated.
Remove an attribute's value.
|
void |
setValue(String name,
String value)
Deprecated.
Set an attribute's value.
|
int attributeCount()
Iterator<String> attributeNames()
Iterator iterating over the attribute namesboolean containsAttribute(String name)
name - name of the attributetrue if the specified attribute exists,
false otherwiseString getValue(String name)
null
if the attribute cannot be found.name - attribute namechar getQuoteChar(String name)
0
if the attribute cannot be found.name - attribute nameString getQuotedValue(String name)
null if the attribute
cannot be foundname - attribute namevoid setValue(String name, String value)
null, this
is semantically different to a removeValue(String).name - attribute namevalue - attribute valuevoid removeValue(String name)
name - attribute nameboolean isModified()
true if the object was modified
false otherwiseCopyright © 2010 - 2020 Adobe. All Rights Reserved