@Override public IQ parse(XmlPullParser parser, int initialDepth) throws Exception { UserSearch search = null; SimpleUserSearch simpleUserSearch = new SimpleUserSearch();
/** * Sends the filled out answer form to be sent and queried by the search service. * * @param con the current XMPPConnection. * @param searchForm the <code>Form</code> to send for querying. * @param searchService the search service to use. (ex. search.jivesoftware.com) * @return ReportedData the data found from the query. * @throws XMPPErrorException * @throws NoResponseException * @throws NotConnectedException * @throws InterruptedException */ public ReportedData sendSimpleSearchForm(XMPPConnection con, Form searchForm, DomainBareJid searchService) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException { SimpleUserSearch search = new SimpleUserSearch(); search.setForm(searchForm); search.setType(IQ.Type.set); search.setTo(searchService); SimpleUserSearch response = con.createStanzaCollectorAndSend(search).nextResultOrThrow(); return response.getReportedData(); }
public IQ parseIQ(XmlPullParser parser) throws Exception { UserSearch search = null; SimpleUserSearch simpleUserSearch = new SimpleUserSearch();
public IQ parseIQ(XmlPullParser parser) throws Exception { UserSearch search = null; SimpleUserSearch simpleUserSearch = new SimpleUserSearch();
public IQ parseIQ(XmlPullParser parser) throws Exception { UserSearch search = null; SimpleUserSearch simpleUserSearch = new SimpleUserSearch();
public IQ parseIQ(XmlPullParser parser) throws Exception { UserSearch search = null; SimpleUserSearch simpleUserSearch = new SimpleUserSearch();
SimpleUserSearch search = new SimpleUserSearch(); search.setForm(searchForm); search.setType(IQ.Type.SET);
SimpleUserSearch search = new SimpleUserSearch(); search.setForm(searchForm); search.setType(Type.SET);
SimpleUserSearch search = new SimpleUserSearch(); search.setForm(searchForm); search.setType(IQ.Type.SET);
SimpleUserSearch search = new SimpleUserSearch(); search.setForm(searchForm); search.setType(IQ.Type.SET);