Class Bookmarks.Provider
java.lang.Object
org.jivesoftware.smackx.bookmarks.Bookmarks.Provider
- All Implemented Interfaces:
PrivateDataProvider
- Enclosing class:
- Bookmarks
The IQ Provider for BookmarkStorage.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparsePrivateData
(XmlPullParser parser) Parse the private data sub-document and create a PrivateData instance.
-
Constructor Details
-
Provider
public Provider()Empty Constructor for PrivateDataProvider.
-
-
Method Details
-
parsePrivateData
public PrivateData parsePrivateData(XmlPullParser parser) throws XmlPullParserException, IOException 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 interfacePrivateDataProvider
- Parameters:
parser
- an XML parser.- Returns:
- a new PrivateData instance.
- Throws:
XmlPullParserException
- if an error in the XML parser occurred.IOException
- if an I/O error occurred.
-