public class SubscriptionConstraints extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionConstraints.DynamicFilterSubscription |
static class |
SubscriptionConstraints.XPathSubscription |
Modifier and Type | Field and Description |
---|---|
static String |
ALL_FILTER |
protected String |
consumer |
protected String |
filter |
Constructor and Description |
---|
SubscriptionConstraints(String consumer)
Creates a
SubscriptionConstraints instance with no filter defined. |
SubscriptionConstraints(String consumer,
String filterAsString) |
Modifier and Type | Method and Description |
---|---|
String |
getConsumer() |
org.apache.xmlbeans.XmlObject |
getSubscriptionDocument() |
void |
setFilter(String f)
The Filter compliant to the WS-N spec.
|
public static final String ALL_FILTER
protected String consumer
protected String filter
public SubscriptionConstraints(String consumer)
SubscriptionConstraints
instance with no filter defined.
A filter can be set using setFilter(String)
or
with the constructor SubscriptionConstraints(String, String)
.
If no filter is set, a SubscribeForAll Filter will be used.consumer
- the consumer URIpublic SubscriptionConstraints(String consumer, String filterAsString)
consumer
- the consumer URIfilterAsString
- see setFilter(String)
for details.public org.apache.xmlbeans.XmlObject getSubscriptionDocument() throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlException
public String getConsumer()
public void setFilter(String f)
f
- Copyright © 2012–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.