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