Package org.jivesoftware.smackx.pubsub
Class PublishItem<T extends Item>
java.lang.Object
org.jivesoftware.smackx.pubsub.NodeExtension
org.jivesoftware.smackx.pubsub.PublishItem<T>
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.XmlElement,org.jivesoftware.smack.packet.XmlLangElement
Represents a request to publish an item(s) to a specific node.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPublishItem(String nodeId, Collection<T> toPublish) Construct a request to publish multiple items to a node.PublishItem(String nodeId, T toPublish) Construct a request to publish an item to a node. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddXml(org.jivesoftware.smack.util.XmlStringBuilder xml) Methods inherited from class org.jivesoftware.smackx.pubsub.NodeExtension
getElementName, getNamespace, getNode, getPubSubNamespace, toString, toXMLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
items
-
-
Constructor Details
-
Method Details
-
addXml
protected void addXml(org.jivesoftware.smack.util.XmlStringBuilder xml) - Overrides:
addXmlin classNodeExtension
-