Class DataLayout.Section
- java.lang.Object
-
- org.jivesoftware.smackx.xdatalayout.packet.DataLayout.DataFormLayoutElement
-
- org.jivesoftware.smackx.xdatalayout.packet.DataLayout.Section
-
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element
,org.jivesoftware.smack.packet.ExtensionElement
,org.jivesoftware.smack.packet.NamedElement
,org.jivesoftware.smack.packet.XmlElement
,org.jivesoftware.smack.packet.XmlLangElement
- Enclosing class:
- DataLayout
public static class DataLayout.Section extends DataLayout.DataFormLayoutElement
-
-
Constructor Summary
Constructors Constructor Description Section(java.lang.String label)
Section constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementName()
java.lang.String
getLabel()
Gets the value of the label property.java.util.List<DataLayout.DataFormLayoutElement>
getSectionLayout()
Gets the value of the sectionLayout property.org.jivesoftware.smack.util.XmlStringBuilder
toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
-
Methods inherited from class org.jivesoftware.smackx.xdatalayout.packet.DataLayout.DataFormLayoutElement
getNamespace
-
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
QNAME
public static final javax.xml.namespace.QName QNAME
-
-
Method Detail
-
getSectionLayout
public java.util.List<DataLayout.DataFormLayoutElement> getSectionLayout()
Gets the value of the sectionLayout property.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
andDataLayout.Reportedref
- Returns:
- list of DataFormLayoutElements.
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
-
getLabel
public java.lang.String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
getElementName
public java.lang.String getElementName()
-
-