public class SubscriptionsExtension extends NodeExtension
Modifier and Type | Field and Description |
---|---|
protected List<Subscription> |
items |
Constructor and Description |
---|
SubscriptionsExtension(List<Subscription> subList)
Subscriptions to the root node
|
SubscriptionsExtension(String nodeId,
List<Subscription> subList)
Subscriptions to the specified node.
|
Modifier and Type | Method and Description |
---|---|
List<Subscription> |
getSubscriptions()
Gets the list of subscriptions.
|
CharSequence |
toXML()
Returns the XML representation of this Element.
|
getElementName, getNamespace, getNode, toString
protected List<Subscription> items
public SubscriptionsExtension(List<Subscription> subList)
subList
- The list of subscriptionspublic SubscriptionsExtension(String nodeId, List<Subscription> subList)
nodeId
- The node subscribed tosubList
- The list of subscriptionspublic List<Subscription> getSubscriptions()
public CharSequence toXML()
Element
toXML
in interface Element
toXML
in class NodeExtension