Class AbstractHttpOverXmpp.Data
- java.lang.Object
-
- org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Data
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Enclosing class:
- AbstractHttpOverXmpp
public static class AbstractHttpOverXmpp.Data extends java.lang.Object
Representation of Data element.This class is immutable.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
-
Constructor Summary
Constructors Constructor Description Data(NamedElement child)
Creates Data element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedElement
getChild()
Returns element nested by Data.java.lang.String
getElementName()
Returns the root element name.XmlStringBuilder
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, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Data
public Data(NamedElement child)
Creates Data element.- Parameters:
child
- element nested by Data
-
-
Method Detail
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
Returns string containing xml representation of this object.- Returns:
- xml representation of this object
-
getChild
public NamedElement getChild()
Returns element nested by Data.- Returns:
- element nested by Data
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
-