public static class AbstractHttpOverXmpp.Xml extends Object implements NamedElement
This class is immutable.
Constructor and Description |
---|
Xml(String text)
Creates this element.builder.toString().
|
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getText()
Returns text of this element.
|
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public XmlStringBuilder toXML(String enclosingNamespace)
Element
public String getElementName()
NamedElement
getElementName
in interface NamedElement