|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.xml.writer.AttributeList
public class AttributeList
The attribute list is used by a writer to specify the attributes of an XML element in a certain order.
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeList()
| Method Detail |
|---|
public Iterator keys()
public void setAttribute(String name,
String value)
name - the name of the attribute to be definedvalue - the value of the attribute.public String getAttribute(String name)
name - the name of the attribute
public String getAttribute(String name,
String defaultValue)
name - the name of the attribute.defaultValue - the default value.
public void removeAttribute(String name)
name - the name of the attribute which should be removed..
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||