public static class AbstractHttpOverXmpp.Text extends Object implements NamedElement
This class is immutable.
Constructor and Description |
---|
Text(String text)
Creates this element.
|
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