public class PPSubscription extends Subscription
<Subscription subscriptionID="subs123" notifyToRef="UUID" includeData="1">
<ResultQuery objectType="entry">
<Select attributes="HELLO"/>
</ResultQuery>
<RefItem itemIDRef="1"/>
</Subscription>
NotifyToRef points to an ApplicationEPR in the SOAP header that is used to notify the
entity making the subscription request| Modifier and Type | Class and Description |
|---|---|
static class |
PPSubscription.Builder
Internal builder class simplifies the file structure
|
static class |
PPSubscription.Marshaller
Static Marshaller
|
static class |
PPSubscription.Unmarshaller
Static Unmarshaller
|
Subscription.IncludeDataEnum| Modifier and Type | Field and Description |
|---|---|
static String |
ATT_NOTIFY_TO_URL |
static String |
ATT_SUBSCRIBER_NAME |
static String |
ATT_SUBSCRIBER_URI |
static QName |
DEFAULT_QNAME |
static String |
LOCAL_NAME |
private URL |
notifyToURL
HACK: This is a stand in for a stored EPR referenced by notifyToRef.
|
private String |
subscriberName
This is a recognizable name for the user who may want to review subscriptions
|
private String |
subscriberURI
This is an URL/URI representing the subscriber
|
ATT_ADMIN_NOTIFY_TO_REF, ATT_EXPIRES, ATT_ID, ATT_INCLUDE_DATA, ATT_NOTIFY_TO_REF, ATT_STARTS, ATT_SUBSCRIPTION_ID| Constructor and Description |
|---|
PPSubscription() |
PPSubscription(String namespaceURI,
String elementLocalName,
String namespacePrefix) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getNotifyToURL() |
String |
getSubscriberName() |
String |
getSubscriberURI() |
void |
setNotifyToURL(URL notifyToURL) |
void |
setSubscriberName(String subscriberName) |
void |
setSubscriberURI(String subscriberURI) |
getAdminNotifyToRef, getExpires, getExtensions, getId, getIncludeData, getNotifyToRef, getOrderedChildren, getRefItems, getStarts, getSubscriptionID, setAdminNotifyToRef, setExpires, setId, setIncludeData, setNotifyToRef, setStarts, setSubscriptionIDdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypepublic static final String LOCAL_NAME
public static final QName DEFAULT_QNAME
private String subscriberName
private String subscriberURI
private URL notifyToURL
public static final String ATT_SUBSCRIBER_NAME
public static final String ATT_SUBSCRIBER_URI
public static final String ATT_NOTIFY_TO_URL
public String getSubscriberName()
public void setSubscriberName(String subscriberName)
public String getSubscriberURI()
public void setSubscriberURI(String subscriberURI)
public URL getNotifyToURL()
public void setNotifyToURL(URL notifyToURL)
Copyright © 1999–2015. All rights reserved.