public static class AbstractHttpOverXmpp.Text extends Object implements NamedElement
This class is immutable.
| Constructor and Description |
|---|
AbstractHttpOverXmpp.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()
Returns the XML representation of this Element.
|
public static final String ELEMENT
public AbstractHttpOverXmpp.Text(String text)
text - value of textpublic XmlStringBuilder toXML()
Elementpublic String getElementName()
NamedElementgetElementName in interface NamedElement