Package org.jivesoftware.smackx.pubsub

Examples of org.jivesoftware.smackx.pubsub.Affiliation


public class AffiliationProvider extends EmbeddedExtensionProvider
{
  @Override
  protected PacketExtension createReturnExtension(String currentElement, String currentNamespace, Map<String, String> attributeMap, List<? extends PacketExtension> content)
  {
    return new Affiliation(attributeMap.get("node"), Affiliation.Type.valueOf(attributeMap.get("affiliation")));
  }
View Full Code Here

TOP

Related Classes of org.jivesoftware.smackx.pubsub.Affiliation

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.