Class DataLayout
java.lang.Object
org.jivesoftware.smackx.xdatalayout.packet.DataLayout
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
DataLayout Extension according to XEP-0141: Data Forms Layout.
Defines a backwards-compatible extension to the XMPP Data Forms protocol that
enables an application to specify form layouts, including the layout of
form fields, sections within pages, and subsections within sections.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.getLabel()
Gets the value of the label property.Returns the root element XML namespace.Gets the value of the pageLayout property.toXML
(XmlEnvironment enclosingNamespace) 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:
-
NAMESPACE
- See Also:
-
-
Constructor Details
-
DataLayout
Data layout constructor.- Parameters:
label
- TODO javadoc me please
-
-
Method Details
-
getPageLayout
Gets the value of the pageLayout property.Objects of the following type(s) are allowed in the list:
String
,DataLayout.Section
,DataLayout.Fieldref
andDataLayout.Reportedref
- Returns:
- list of DataFormLayoutElements.
-
getLabel
Gets the value of the label property.- Returns:
- possible object is
String
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
toXML
-