public static class AbstractHttpOverXmpp.Data extends java.lang.Object implements NamedElement
This class is immutable.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
Constructor and Description |
---|
Data(NamedElement child)
Creates Data element.
|
Modifier and Type | Method and Description |
---|---|
NamedElement |
getChild()
Returns element nested by Data.
|
java.lang.String |
getElementName()
Returns the root element name.
|
XmlStringBuilder |
toXML()
Returns string containing xml representation of this object.
|
public static final java.lang.String ELEMENT
public Data(NamedElement child)
child
- element nested by Datapublic XmlStringBuilder toXML()
public NamedElement getChild()
public java.lang.String getElementName()
NamedElement
getElementName
in interface NamedElement