Package org.apache.vysper.xmpp.modules.extension.xep0060_pubsub

Examples of org.apache.vysper.xmpp.modules.extension.xep0060_pubsub.NodeAffiliationVisitor


     * Traverses through all nodes to collect all affiliations of the user.
     * @return the list of subscriptions or an empty list.
     */
    private List<AffiliationItem> collectAffiliations(CollectionNode root, Entity sender) {
        List<AffiliationItem> affiliations;
        NodeAffiliationVisitor nodeAffiliationVisitor = new NodeAffiliationVisitor(sender);
        root.acceptNodes(nodeAffiliationVisitor);
        affiliations = nodeAffiliationVisitor.getAffiliations();
        return affiliations;
    }
View Full Code Here


     * Traverses through all nodes to collect all affiliations of the user.
     * @return the list of subscriptions or an empty list.
     */
    private List<AffiliationItem> collectAffiliations(CollectionNode root, Entity sender) {
        List<AffiliationItem> affiliations;
        NodeAffiliationVisitor nodeAffiliationVisitor = new NodeAffiliationVisitor(sender);
        root.acceptNodes(nodeAffiliationVisitor);
        affiliations = nodeAffiliationVisitor.getAffiliations();
        return affiliations;
    }
View Full Code Here

     * Traverses through all nodes to collect all affiliations of the user.
     * @return the list of subscriptions or an empty list.
     */
    private List<AffiliationItem> collectAffiliations(CollectionNode root, Entity sender) {
        List<AffiliationItem> affiliations;
        NodeAffiliationVisitor nodeAffiliationVisitor = new NodeAffiliationVisitor(sender);
        root.acceptNodes(nodeAffiliationVisitor);
        affiliations = nodeAffiliationVisitor.getAffiliations();
        return affiliations;
    }
View Full Code Here

TOP

Related Classes of org.apache.vysper.xmpp.modules.extension.xep0060_pubsub.NodeAffiliationVisitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.