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 . |
Iterator<ReportedData.Column> |
getColumns()
Returns an Iterator for the columns returned from a search.
|
static ReportedData |
getReportedDataFrom(Packet packet)
Returns a new ReportedData if the packet is used for reporting data and includes an
extension that matches the elementName and namespace "x","jabber:x:data".
|
Iterator<ReportedData.Row> |
getRows()
Returns an Iterator for the rows returned from a search.
|
String |
getTitle()
Returns the report's title.
|
public static ReportedData getReportedDataFrom(Packet packet)
packet
- the packet used for reporting data.public void addRow(ReportedData.Row row)
Row
.row
- the new row to add.public void addColumn(ReportedData.Column column)
Column
column
- the column to add.public Iterator<ReportedData.Row> getRows()
public Iterator<ReportedData.Column> getColumns()
public String getTitle()
Copyright © 2003-2007 Jive Software.