|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.smackx.ReportedData
public class ReportedData
Represents a set of data results returned as part of a search. The report is structured in columns and rows.
Nested Class Summary | |
---|---|
static class |
ReportedData.Column
Represents the columns definition of the reported data. |
static class |
ReportedData.Field
|
static class |
ReportedData.Row
|
Constructor Summary | |
---|---|
ReportedData()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportedData()
Method Detail |
---|
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()
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |