Smack

org.jivesoftware.smackx.pubsub.provider
Class SimpleNodeProvider

java.lang.Object
  extended by org.jivesoftware.smackx.provider.EmbeddedExtensionProvider
      extended by org.jivesoftware.smackx.pubsub.provider.SimpleNodeProvider
All Implemented Interfaces:
PacketExtensionProvider

public class SimpleNodeProvider
extends EmbeddedExtensionProvider

Parses simple elements that only contain a node attribute. This is common amongst many of the elements defined in the pubsub specification. For this common case a NodeExtension is returned.

Author:
Robin Collier

Constructor Summary
SimpleNodeProvider()
           
 
Method Summary
protected  PacketExtension createReturnExtension(String currentElement, String currentNamespace, Map<String,String> attributeMap, List<? extends PacketExtension> content)
           
 
Methods inherited from class org.jivesoftware.smackx.provider.EmbeddedExtensionProvider
parseExtension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNodeProvider

public SimpleNodeProvider()
Method Detail

createReturnExtension

protected PacketExtension createReturnExtension(String currentElement,
                                                String currentNamespace,
                                                Map<String,String> attributeMap,
                                                List<? extends PacketExtension> content)
Specified by:
createReturnExtension in class EmbeddedExtensionProvider

Smack

Copyright © 2003-2007 Jive Software.