Smack

org.jivesoftware.smackx.bookmark
Class Bookmarks.Provider

java.lang.Object
  extended by org.jivesoftware.smackx.bookmark.Bookmarks.Provider
All Implemented Interfaces:
PrivateDataProvider
Enclosing class:
Bookmarks

public static class Bookmarks.Provider
extends Object
implements PrivateDataProvider

The IQ Provider for BookmarkStorage.

Author:
Derek DeMoro

Constructor Summary
Bookmarks.Provider()
          Empty Constructor for PrivateDataProvider.
 
Method Summary
 PrivateData parsePrivateData(org.xmlpull.v1.XmlPullParser parser)
          Parse the private data sub-document and create a PrivateData instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bookmarks.Provider

public Bookmarks.Provider()
Empty Constructor for PrivateDataProvider.

Method Detail

parsePrivateData

public PrivateData parsePrivateData(org.xmlpull.v1.XmlPullParser parser)
                             throws Exception
Description copied from interface: PrivateDataProvider
Parse the private data sub-document and create a PrivateData instance. At the beginning of the method call, the xml parser will be positioned at the opening tag of the private data child element. At the end of the method call, the parser must be positioned on the closing tag of the child element.

Specified by:
parsePrivateData in interface PrivateDataProvider
Parameters:
parser - an XML parser.
Returns:
a new PrivateData instance.
Throws:
Exception - if an error occurs parsing the XML.

Smack

Copyright © 2003-2007 Jive Software.