public class Nick extends Object implements ExtensionElement
ExtensionElement for nicknames.| Modifier and Type | Class and Description |
|---|---|
static class |
Nick.Provider |
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME |
static String |
NAMESPACE |
| Modifier and Type | Method and Description |
|---|---|
String |
getElementName()
Returns the root element name.
|
String |
getName()
The value of this nickname
|
String |
getNamespace()
Returns the root element XML namespace.
|
void |
setName(String name)
Sets the value of this nickname
|
String |
toXML()
Returns the XML representation of this Element.
|
public static final String NAMESPACE
public static final String ELEMENT_NAME
public void setName(String name)
name - the name to setpublic String getElementName()
NamedElementgetElementName in interface NamedElementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElement