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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
-
NAMESPACE
-
-
Constructor Details
-
DataLayout
-
-
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
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
toXML
-