public class PublishItem<T extends Item> extends NodeExtension
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Collection<T> |
items |
| Constructor and Description |
|---|
PublishItem(java.lang.String nodeId,
java.util.Collection<T> toPublish)
Construct a request to publish multiple items to a node.
|
PublishItem(java.lang.String nodeId,
T toPublish)
Construct a request to publish an item to a node.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addXml(org.jivesoftware.smack.util.XmlStringBuilder xml) |
getElementName, getNamespace, getNode, getPubSubNamespace, toString, toXMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic PublishItem(java.lang.String nodeId,
T toPublish)
nodeId - The node to publish totoPublish - The Item to publishprotected void addXml(org.jivesoftware.smack.util.XmlStringBuilder xml)
addXml in class NodeExtension