Package org.jivesoftware.smackx.pubsub
Class GetItemsRequest
java.lang.Object
org.jivesoftware.smackx.pubsub.NodeExtension
org.jivesoftware.smackx.pubsub.GetItemsRequest
- 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 subscribe to a node.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGetItemsRequest(String nodeId) GetItemsRequest(String nodeId, int maxItemsToReturn) GetItemsRequest(String nodeId, String subscriptionId) GetItemsRequest(String nodeId, String subscriptionId, int maxItemsToReturn) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddXml(org.jivesoftware.smack.util.XmlStringBuilder xml) intMethods 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
-
subId
-
maxItems
protected final int maxItems
-
-
Constructor Details
-
GetItemsRequest
-
GetItemsRequest
-
GetItemsRequest
-
GetItemsRequest
-
-
Method Details
-
getSubscriptionId
-
getMaxItems
public int getMaxItems() -
addXml
protected void addXml(org.jivesoftware.smack.util.XmlStringBuilder xml) - Overrides:
addXmlin classNodeExtension
-