public static class DataLayout.Section extends Object implements DataLayout.DataFormLayoutElement
Constructor and Description |
---|
Section(String label)
Section constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getLabel()
Gets the value of the label property.
|
List<DataLayout.DataFormLayoutElement> |
getSectionLayout()
Gets the value of the sectionLayout property.
|
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public List<DataLayout.DataFormLayoutElement> getSectionLayout()
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you
make to the returned list will be present inside the object. This is why there is not a set
method for the sectionLayout property.
For example, to add a new item, do as follows:
getSectionLayout().add(newItem);
Objects of the following type(s) are allowed in the list: String
,
DataLayout.Section
, DataLayout.Fieldref
and DataLayout.Reportedref
public XmlStringBuilder toXML(String enclosingNamespace)
Element
public String getLabel()
String
public String getElementName()
NamedElement
getElementName
in interface NamedElement