public class GetItemsRequest extends NodeExtension
Modifier and Type | Field and Description |
---|---|
protected int |
maxItems |
protected String |
subId |
Constructor and Description |
---|
GetItemsRequest(String nodeId) |
GetItemsRequest(String nodeId,
int maxItemsToReturn) |
GetItemsRequest(String nodeId,
String subscriptionId) |
GetItemsRequest(String nodeId,
String subscriptionId,
int maxItemsToReturn) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxItems() |
String |
getSubscriptionId() |
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
getElementName, getNamespace, getNode, getPubSubNamespace, toString
public GetItemsRequest(String nodeId)
public GetItemsRequest(String nodeId, String subscriptionId)
public GetItemsRequest(String nodeId, int maxItemsToReturn)
public GetItemsRequest(String nodeId, String subscriptionId, int maxItemsToReturn)
public String getSubscriptionId()
public int getMaxItems()
public XmlStringBuilder toXML(String enclosingNamespace)
Element
toXML
in interface Element
toXML
in class NodeExtension
enclosingNamespace
- the enclosing namespace or null
.