public class ReportedData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReportedData.Column
Represents the columns definition of the reported data.
|
static class |
ReportedData.Field |
static class |
ReportedData.Row |
| Constructor and Description |
|---|
ReportedData() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(ReportedData.Column column)
Adds a new
Column |
void |
addRow(ReportedData.Row row)
Adds a new
Row. |
List<ReportedData.Column> |
getColumns()
Returns a List of the columns returned from a search.
|
static ReportedData |
getReportedDataFrom(Stanza packet)
Returns a new ReportedData if the stanza(/packet) is used for reporting data and includes an
extension that matches the elementName and namespace "x","jabber:x:data".
|
List<ReportedData.Row> |
getRows()
Returns a List of the rows returned from a search.
|
String |
getTitle()
Returns the report's title.
|
public ReportedData()
public static ReportedData getReportedDataFrom(Stanza packet)
packet - the stanza(/packet) used for reporting data.public void addRow(ReportedData.Row row)
Row.row - the new row to add.public void addColumn(ReportedData.Column column)
Columncolumn - the column to add.public List<ReportedData.Row> getRows()
public List<ReportedData.Column> getColumns()