|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.xml.XmlAttributes
public class XmlAttributes
Container for XML attributes.
This class is meant for use with XmlWriter.
It's used to hold a list of XML attributes that will be passed to one of
the element opening
methods.
| Constructor Summary | |
|---|---|
XmlAttributes()
Builds a new, empty XmlAttributes instance. |
|
| Method Summary | |
|---|---|
void |
add(java.lang.String name,
java.lang.String value)
Adds the specified attribute to this container. |
void |
clear()
Clears the list of all previously defined attributes. |
java.lang.String |
getValue(java.lang.String name)
Returns the value associated with the specified attribute name. |
java.util.Iterator |
names()
Returns an iterator on the attributes contained by this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlAttributes()
| Method Detail |
|---|
public java.lang.String getValue(java.lang.String name)
name - name of the attribute whose value should be retrieved.
null otherwise.public void clear()
public void add(java.lang.String name,
java.lang.String value)
name - name of the attribute to whose value should be set.value - value to which the attribute should be set.public java.util.Iterator names()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard