|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.util.xml.XContainer bibliothek.util.xml.XAttribute
public class XAttribute
An attribute is an element in a XML-file that has a name and perhaps a value.
Constructor Summary | |
---|---|
XAttribute(String name)
Creates a new attribute. |
Method Summary | |
---|---|
XAttribute |
copy()
Creates an independent copy of this container. |
String |
getName()
Gets the name of this attribute. |
void |
setName(String name)
Sets the name of this attribute. |
Methods inherited from class bibliothek.util.xml.XContainer |
---|
copy, getBoolean, getByte, getByteArray, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, getValue, setBoolean, setByte, setByteArray, setChar, setDouble, setFloat, setInt, setLong, setShort, setString, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XAttribute(String name)
name
- the name of the attributeMethod Detail |
---|
public XAttribute copy()
XContainer
copy
in class XContainer
public void setName(String name)
name
- the new namepublic String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |