Lines Matching refs:Privacy
22 import org.jivesoftware.smack.packet.Privacy;
29 * The PrivacyProvider parses {@link Privacy} packets. {@link Privacy}
30 * Parses the <tt>query</tt> sub-document and creates an instance of {@link Privacy}.
42 Privacy privacy = new Privacy();
43 /* privacy.addExtension(PacketParserUtils.parsePacketExtension(parser
45 privacy.addExtension(new DefaultPacketExtension(parser.getName(), parser.getNamespace()));
53 privacy.setDeclineActiveList(true);
55 privacy.setActiveName(activeName);
61 privacy.setDeclineDefaultList(true);
63 privacy.setDefaultName(defaultName);
67 parseList(parser, privacy);
77 return privacy;
81 public void parseList(XmlPullParser parser, Privacy privacy) throws Exception {
99 privacy.setPrivacyList(listName, items);
123 // Create the privacy item