public final class Section extends Object
<section/> element in the http://jabber.org/protocol/xdata-layout namespace.
A section is used to partition a page.
This class is immutable.| Constructor and Description |
|---|
Section(String label,
Collection<FieldReference> fieldReferences)
Creates a section.
|
Section(String label,
Collection<FieldReference> fieldReferences,
Collection<String> text)
Creates a section.
|
Section(String label,
Collection<FieldReference> fieldReferences,
Collection<String> text,
FieldReference reportedReference)
Creates a section.
|
| Modifier and Type | Method and Description |
|---|---|
List<FieldReference> |
getFieldReferences()
Gets the field references.
|
String |
getLabel()
Gets the label of the section.
|
FieldReference |
getReportedReference()
Gets the reported field reference.
|
List<Section> |
getSections()
Gets nested sub-sections.
|
List<String> |
getText()
Gets additional information for the section.
|
public Section(String label, Collection<FieldReference> fieldReferences)
label - The label.fieldReferences - The field references.public Section(String label, Collection<FieldReference> fieldReferences, Collection<String> text)
label - The label.fieldReferences - The field references.text - The text.public Section(String label, Collection<FieldReference> fieldReferences, Collection<String> text, FieldReference reportedReference)
label - The label.fieldReferences - The field references.text - The text.reportedReference - The reference to a reported field.public String getLabel()
public List<String> getText()
public List<FieldReference> getFieldReferences()
public List<Section> getSections()
public FieldReference getReportedReference()
Copyright © 2014–2018 XMPP.rocks. All rights reserved.