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() |
public PrivacyProvider()
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