Class Nick
java.lang.Object
org.jivesoftware.smackx.nick.packet.Nick
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
A minimalistic implementation of a
ExtensionElement
for nicknames.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.getName()
The value of this nickname.Returns the root element XML namespace.toXML
(XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
NAMESPACE
- See Also:
-
QNAME
-
ELEMENT_NAME
Deprecated.useQNAME
instead.Deprecated, do not use.
-
-
Constructor Details
-
Nick
-
-
Method Details
-
getName
The value of this nickname.- Returns:
- the nickname
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
toXML
-
QNAME
instead.