public static class DataLayout.Text extends Object implements DataLayout.DataFormLayoutElement
Constructor and Description |
---|
DataLayout.Text(String text) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getText()
Gets the value of the var property.
|
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final String ELEMENT
public DataLayout.Text(String text)
text
- reference to a fieldpublic XmlStringBuilder toXML()
Element
public String getText()
String
public String getElementName()
NamedElement
getElementName
in interface NamedElement