org.jfree.xml.writer
public class AttributeList extends Object
| Constructor Summary | |
|---|---|
| AttributeList()
Creates an empty attribute list with no default values. | |
| Method Summary | |
|---|---|
| String | getAttribute(String name)
Returns the attribute value for the given attribute name or null,
if the attribute is not defined in this list.
|
| String | getAttribute(String name, String defaultValue)
Returns the attribute value for the given attribute name or the given
defaultvalue, if the attribute is not defined in this list.
|
| Iterator | keys()
Returns an iterator over all attribute names. |
| void | removeAttribute(String name)
Removes the attribute with the given name from the list.
|
| void | setAttribute(String name, String value)
Defines an attribute.
|
Parameters: name the name of the attribute
Returns: the attribute value or null.
Parameters: name the name of the attribute. defaultValue the default value.
Returns: the attribute value or the defaultValue.
Returns: the iterator over all attribute names.
Parameters: name the name of the attribute which should be removed..
Parameters: name the name of the attribute to be defined value the value of the attribute.