bibliothek.util.xml
Class XAttribute
java.lang.Object
bibliothek.util.xml.XContainer
bibliothek.util.xml.XAttribute
public class XAttribute
- extends XContainer
An attribute is an element in a XML-file that has a name and perhaps a value.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.util.xml.XContainer |
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 |
XAttribute
public XAttribute(String name)
- Creates a new attribute.
- Parameters:
name
- the name of the attribute
setName
public void setName(String name)
- Sets the name of this attribute.
- Parameters:
name
- the new name
getName
public String getName()
- Gets the name of this attribute.
- Returns:
- the name