Class SimpleNodeProvider
java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<E>
org.jivesoftware.smack.provider.Provider<E>
org.jivesoftware.smack.provider.ExtensionElementProvider<PE>
org.jivesoftware.smack.provider.EmbeddedExtensionProvider<NodeExtension>
org.jivesoftware.smackx.pubsub.provider.SimpleNodeProvider
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.-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider
AbstractProvider.NumberFormatParseException, AbstractProvider.TextParseException, AbstractProvider.WrappableParser<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected NodeExtension
createReturnExtension
(String currentElement, String currentNamespace, Map<String, String> attributeMap, List<? extends XmlElement> content) Methods inherited from class org.jivesoftware.smack.provider.EmbeddedExtensionProvider
parse
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, toUrl, wrapExceptions
-
Constructor Details
-
SimpleNodeProvider
public SimpleNodeProvider()
-
-
Method Details
-
createReturnExtension
protected NodeExtension createReturnExtension(String currentElement, String currentNamespace, Map<String, String> attributeMap, List<? extends XmlElement> content) - Specified by:
createReturnExtension
in classEmbeddedExtensionProvider<NodeExtension>
-