Class DataLayout.Section
java.lang.Object
org.jivesoftware.smackx.xdatalayout.packet.DataLayout.DataFormLayoutElement
org.jivesoftware.smackx.xdatalayout.packet.DataLayout.Section
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
- Enclosing class:
- DataLayout
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.getLabel()
Gets the value of the label property.Gets the value of the sectionLayout property.toXML
(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.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
QNAME
-
-
Constructor Details
-
Section
Section constructor.- Parameters:
label
- TODO javadoc me please
-
-
Method Details
-
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
-
getLabel
Gets the value of the label property.- Returns:
- possible object is
String
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-