Package org.jivesoftware.smackx.ReportedData

Examples of org.jivesoftware.smackx.ReportedData.Row


                vecColumnNames.addElement(columns.next().getVariable());
            }

            Iterator<Row> rows = reporteddata.getRows();
            while (rows.hasNext()) {
                Row row = rows.next();
                Vector<String> vRow = new Vector<String>();

                for(int i=0;i<vecColumnNames.size();i++){
                    Iterator<String>  strValue = row.getValues((String)vecColumnNames.get(i));
                    while (strValue.hasNext()) {
                        vRow.add(strValue.next());
                    }
                }
                vecRowData.addElement(vRow);
View Full Code Here


   */
  protected IResultList createResultList(ReportedData data) {
    ResultList result = new ResultList();
    Iterator rows = data.getRows();
    while (rows.hasNext()) {
      Row row = (Row) rows.next();
      Iterator jids = row.getValues(JID);
      Iterator names = row.getValues(NAME);
      String jid = null;
      String name = null;
      // XMPP server returns the same length for both
      while (jids.hasNext() && names.hasNext()) {
        try {
View Full Code Here

TOP

Related Classes of org.jivesoftware.smackx.ReportedData.Row

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.