Class DataLayout
java.lang.Object
org.jivesoftware.smackx.xdatalayout.packet.DataLayout
- 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
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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods 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.FieldrefandDataLayout.Reportedref- Returns:
- list of DataFormLayoutElements.
-
getLabel
Gets the value of the label property.- Returns:
- possible object is
String
-
getElementName
- Specified by:
getElementNamein interfaceorg.jivesoftware.smack.packet.NamedElement
-
getNamespace
- Specified by:
getNamespacein interfaceorg.jivesoftware.smack.packet.XmlElement
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) - Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-