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:
Element
,NamedElement
,XmlElement
,XmlLangElement
Represents a request to publish an item(s) to a specific node.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPublishItem
(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
Methods inherited from class org.jivesoftware.smackx.pubsub.NodeExtension
getElementName, getNamespace, getNode, getPubSubNamespace, toString, toXML
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
items
-
-
Constructor Details
-
Method Details
-
addXml
- Overrides:
addXml
in classNodeExtension
-