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