public class XAttribute extends XContainer
Constructor and Description |
---|
XAttribute(java.lang.String name)
Creates a new attribute.
|
Modifier and Type | Method and Description |
---|---|
XAttribute |
copy()
Creates an independent copy of this container.
|
java.lang.String |
getName()
Gets the name of this attribute.
|
void |
setName(java.lang.String name)
Sets the name of this attribute.
|
copy, getBoolean, getByte, getByteArray, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, getValue, setBoolean, setByte, setByteArray, setChar, setDouble, setFloat, setInt, setLong, setShort, setString, setValue
public XAttribute(java.lang.String name)
name
- the name of the attributepublic XAttribute copy()
XContainer
copy
in class XContainer
public void setName(java.lang.String name)
name
- the new namepublic java.lang.String getName()