Class AbstractHttpOverXmpp.Text
java.lang.Object
org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Text
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
- Enclosing class:
- AbstractHttpOverXmpp
Representation of Text element.
This class is immutable.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.final String
Returns the root element XML namespace.getText()
Returns text of this element.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
-
ELEMENT
- See Also:
-
QNAME
-
-
Constructor Details
-
Text
Creates this element.- Parameters:
text
- value of text
-
-
Method Details
-
toXML
-
getText
Returns text of this element.- Returns:
- text TODO javadoc me please
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-