|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule
tigase.jaxmpp.core.client.xmpp.modules.BookmarksModule
public class BookmarksModule
Implementation of XEP-0049: Private XML Storage.
| Nested Class Summary | |
|---|---|
static class |
BookmarksModule.BookmarksAsyncCallback
Bookmarks callback. |
| Field Summary |
|---|
| Fields inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule |
|---|
log, observable, sessionObject, writer |
| Constructor Summary | |
|---|---|
BookmarksModule(Observable parentObservable,
SessionObject sessionObject,
PacketWriter packetWriter)
|
|
| Method Summary | |
|---|---|
Criteria |
getCriteria()
Criteria |
String[] |
getFeatures()
Returns features what are implemented by Module. |
protected void |
processGet(IQ element)
Method for processing stanza <iq type='get'>. |
protected void |
processSet(IQ element)
Method for processing stanza <iq type='set'>. |
void |
publishBookmarks(List<Element> bookmarks,
AsyncCallback callback)
Send list of bookmarks to private storage. |
void |
retrieveBookmarks(BookmarksModule.BookmarksAsyncCallback callback)
Retrieve bookmarks from private storage. |
| Methods inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule |
|---|
addListener, addListener, process, removeAllListeners, removeListener, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BookmarksModule(Observable parentObservable,
SessionObject sessionObject,
PacketWriter packetWriter)
| Method Detail |
|---|
public Criteria getCriteria()
XmppModule
public String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
See Service Discovery Features
protected void processGet(IQ element)
throws JaxmppException
AbstractIQModule<iq type='get'>.
processGet in class AbstractIQModuleelement - incoming XMPP stanza
JaxmppException
protected void processSet(IQ element)
throws JaxmppException
AbstractIQModule<iq type='set'>.
processSet in class AbstractIQModuleelement - incoming XMPP stanza
JaxmppException
public void publishBookmarks(List<Element> bookmarks,
AsyncCallback callback)
throws JaxmppException
bookmarks - collections of elements with bookmarks.callback - callback
JaxmppException
public void retrieveBookmarks(BookmarksModule.BookmarksAsyncCallback callback)
throws JaxmppException
callback - callback to handle response.
JaxmppException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||