com.ibm.websphere.sib.wsn
Class Filter
- java.lang.Object
-
- com.ibm.websphere.sib.wsn.Filter
-
public class Filter extends java.lang.Object
A class which represents the FilterType type in the WS-Notification Base Notification schema.
-
-
Field Summary
Fields Modifier and Type Field and Description protected java.util.List
messageContentExpressions
The message content expressions in the filterprotected java.util.List
otherElements
Custom defined elements in the filterprotected java.util.List
producerPropertiesExpressions
The producer properties expressions in the filterprotected java.util.List
topicExpressions
The topic expressions in the filter
-
Constructor Summary
Constructors Constructor and Description Filter()
Default constructor
-
Method Summary
Methods Modifier and Type Method and Description void
addMessageContentExpression(QueryExpression messageContentExpression)
Add a MessageContent value in the filtervoid
addOtherSOAPElement(javax.xml.soap.SOAPElement element)
Add a custom SOAPElement to the filtervoid
addProducerPropertiesExpression(QueryExpression producerPropertiesExpression)
Add a ProducerProperties value in the filtervoid
addTopicExpression(TopicExpression topicExpression)
Add a TopicExpression value to the filterjava.util.Iterator
getMessageContentExpressions()
Get an iterator over all the MessageContent values set in the filterjava.util.Iterator
getOtherSOAPElements()
Get an iterator over all the SOAPElements defined in this filter.java.util.Iterator
getProducerPropertiesExpressions()
Get an iterator over all the ProducerProperties values set in the filterjava.util.Iterator
getTopicExpressions()
Get an iterator over all the TopicExpression values set in the filtervoid
removeAllMessageContentExpressions()
Remove all MessageContent values from the filtervoid
removeAllProducerPropertiesExpressions()
Remove all MessageContent values from the filtervoid
removeAllTopicExpressions()
Remove all TopicExpression values from the filter
-
-
-
Field Detail
-
topicExpressions
protected java.util.List topicExpressions
The topic expressions in the filter
-
producerPropertiesExpressions
protected java.util.List producerPropertiesExpressions
The producer properties expressions in the filter
-
messageContentExpressions
protected java.util.List messageContentExpressions
The message content expressions in the filter
-
otherElements
protected java.util.List otherElements
Custom defined elements in the filter
-
-
Method Detail
-
getTopicExpressions
public java.util.Iterator getTopicExpressions()
Get an iterator over all the TopicExpression values set in the filter- Returns:
- The Iterator. Each value iterated will be a
TopicExpression
-
addTopicExpression
public void addTopicExpression(TopicExpression topicExpression)
Add a TopicExpression value to the filter- Parameters:
topicExpression
- The TopicExpression
-
removeAllTopicExpressions
public void removeAllTopicExpressions()
Remove all TopicExpression values from the filter
-
getMessageContentExpressions
public java.util.Iterator getMessageContentExpressions()
Get an iterator over all the MessageContent values set in the filter- Returns:
- The Iterator. Each value iterated will be a
QueryExpression
-
addMessageContentExpression
public void addMessageContentExpression(QueryExpression messageContentExpression)
Add a MessageContent value in the filter- Parameters:
messageContentExpression
- The MessageContent value
-
removeAllMessageContentExpressions
public void removeAllMessageContentExpressions()
Remove all MessageContent values from the filter
-
getProducerPropertiesExpressions
public java.util.Iterator getProducerPropertiesExpressions()
Get an iterator over all the ProducerProperties values set in the filter- Returns:
- The Iterator. Each value iterated will be a
QueryExpression
-
addProducerPropertiesExpression
public void addProducerPropertiesExpression(QueryExpression producerPropertiesExpression)
Add a ProducerProperties value in the filter- Parameters:
producerPropertiesExpression
- The ProducerProperties value
-
removeAllProducerPropertiesExpressions
public void removeAllProducerPropertiesExpressions()
Remove all MessageContent values from the filter
-
addOtherSOAPElement
public void addOtherSOAPElement(javax.xml.soap.SOAPElement element)
Add a custom SOAPElement to the filter- Parameters:
element
- The SOAPElement to add
-
getOtherSOAPElements
public java.util.Iterator getOtherSOAPElements()
Get an iterator over all the SOAPElements defined in this filter. The TopicExpression, MessageContent and ProducerProperties values are not included. To get one of these values, seegetTopicExpressions()
,getMessageContentExpressions()
andgetProducerPropertiesExpressions()
- Returns:
- An iterator over the custom SOAPElement values set in this filter
-
-