org.jivesoftware.smackx.pubsub
Class ItemsElement
java.lang.Object
org.jivesoftware.smackx.pubsub.NodeExtension
org.jivesoftware.smackx.pubsub.ItemsElement
- All Implemented Interfaces:
- org.jivesoftware.smack.packet.PacketExtension
public class ItemsElement
- extends NodeExtension
Constructor Summary |
ItemsElement(ItemsElementType itemsType,
java.lang.String nodeId,
java.util.Collection<? extends org.jivesoftware.smack.packet.PacketExtension> items,
java.lang.String attributeValue)
|
ItemsElement(ItemsElementType itemsType,
java.lang.String nodeId,
java.lang.String attributeValue)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ItemsElement
public ItemsElement(ItemsElementType itemsType,
java.lang.String nodeId,
java.util.Collection<? extends org.jivesoftware.smack.packet.PacketExtension> items,
java.lang.String attributeValue)
ItemsElement
public ItemsElement(ItemsElementType itemsType,
java.lang.String nodeId,
java.lang.String attributeValue)
getItemsElementType
public ItemsElementType getItemsElementType()
getItems
public java.util.Collection<? extends org.jivesoftware.smack.packet.PacketExtension> getItems()
getAttributeValue
public java.lang.String getAttributeValue()
toXML
public java.lang.String toXML()
- Specified by:
toXML
in interface org.jivesoftware.smack.packet.PacketExtension
- Overrides:
toXML
in class NodeExtension
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object