public class PrivacyProvider extends Object implements IQProvider
Privacy
packets. Privacy
Parses the query sub-document and creates an instance of Privacy
.
For each item in the list element, it creates an instance
of PrivacyItem
.Constructor and Description |
---|
PrivacyProvider() |
Modifier and Type | Method and Description |
---|---|
IQ |
parseIQ(org.xmlpull.v1.XmlPullParser parser)
Parse the IQ sub-document and create an IQ instance.
|
PrivacyItem |
parseItem(org.xmlpull.v1.XmlPullParser parser) |
void |
parseList(org.xmlpull.v1.XmlPullParser parser,
Privacy privacy) |
public IQ parseIQ(org.xmlpull.v1.XmlPullParser parser) throws Exception
IQProvider
parseIQ
in interface IQProvider
parser
- an XML parser.Exception
- if an error occurs parsing the XML.public void parseList(org.xmlpull.v1.XmlPullParser parser, Privacy privacy) throws Exception
Exception
public PrivacyItem parseItem(org.xmlpull.v1.XmlPullParser parser) throws Exception
Exception
Copyright © 2015 Ignite Realtime. All rights reserved.