Class SimpleNodeProvider
- java.lang.Object
-
- org.jivesoftware.smack.provider.AbstractProvider<E>
-
- org.jivesoftware.smack.provider.Provider<EE>
-
- org.jivesoftware.smack.provider.ExtensionElementProvider<PE>
-
- org.jivesoftware.smack.provider.EmbeddedExtensionProvider<NodeExtension>
-
- org.jivesoftware.smackx.pubsub.provider.SimpleNodeProvider
-
public class SimpleNodeProvider extends EmbeddedExtensionProvider<NodeExtension>
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 aNodeExtension
is returned.
-
-
Constructor Summary
Constructors Constructor Description SimpleNodeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NodeExtension
createReturnExtension(java.lang.String currentElement, java.lang.String currentNamespace, java.util.Map<java.lang.String,java.lang.String> attributeMap, java.util.List<? extends ExtensionElement> content)
-
Methods inherited from class org.jivesoftware.smack.provider.EmbeddedExtensionProvider
parse
-
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass
-
-
-
-
Constructor Detail
-
SimpleNodeProvider
public SimpleNodeProvider()
-
-
Method Detail
-
createReturnExtension
protected NodeExtension createReturnExtension(java.lang.String currentElement, java.lang.String currentNamespace, java.util.Map<java.lang.String,java.lang.String> attributeMap, java.util.List<? extends ExtensionElement> content)
- Specified by:
createReturnExtension
in classEmbeddedExtensionProvider<NodeExtension>
-
-