Class AbstractHttpOverXmpp.Data
java.lang.Object
org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Data
- All Implemented Interfaces:
Element,ExtensionElement,NamedElement,XmlElement,XmlLangElement
- Enclosing class:
- AbstractHttpOverXmpp
Representation of Data element.
This class is immutable.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChild()Returns element nested by Data.Returns the root element name.final StringReturns the root element XML namespace.toXML(XmlEnvironment enclosingNamespace) Returns string containing xml representation of this object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
QNAME
-
-
Constructor Details
-
Data
Creates Data element.- Parameters:
child- element nested by Data
-
-
Method Details
-
toXML
Returns string containing xml representation of this object.- Returns:
- xml representation of this object
-
getChild
Returns element nested by Data.- Returns:
- element nested by Data
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-