Class DataLayout.Text
- java.lang.Object
-
- org.jivesoftware.smackx.xdatalayout.packet.DataLayout.DataFormLayoutElement
-
- org.jivesoftware.smackx.xdatalayout.packet.DataLayout.Text
-
- All Implemented Interfaces:
Element,ExtensionElement,FullyQualifiedElement,NamedElement,XmlLangElement
- Enclosing class:
- DataLayout
public static class DataLayout.Text extends DataLayout.DataFormLayoutElement
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELEMENT
-
Constructor Summary
Constructors Constructor Description Text(java.lang.String text)Text constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetElementName()Returns the root element name.java.lang.StringgetText()Gets the value of the var property.XmlStringBuildertoXML(XmlEnvironment enclosingNamespace)-
Methods inherited from class org.jivesoftware.smackx.xdatalayout.packet.DataLayout.DataFormLayoutElement
getNamespace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Text
public Text(java.lang.String text)
Text constructor.- Parameters:
text- reference to a field
-
-
Method Detail
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
getText
public java.lang.String getText()
Gets the value of the var property.- Returns:
- possible object is
String
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElementReturns the root element name.- Returns:
- the element name.
-
-