IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.sib.wsn
Class Filter

java.lang.Object
  extended by 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
protected  java.util.List messageContentExpressions
          The message content expressions in the filter
protected  java.util.List otherElements
          Custom defined elements in the filter
protected  java.util.List producerPropertiesExpressions
          The producer properties expressions in the filter
protected  java.util.List topicExpressions
          The topic expressions in the filter
 
Constructor Summary
Filter()
          Default constructor
 
Method Summary
 void addMessageContentExpression(QueryExpression messageContentExpression)
          Add a MessageContent value in the filter
 void addOtherSOAPElement(javax.xml.soap.SOAPElement element)
          Add a custom SOAPElement to the filter
 void addProducerPropertiesExpression(QueryExpression producerPropertiesExpression)
          Add a ProducerProperties value in the filter
 void addTopicExpression(TopicExpression topicExpression)
          Add a TopicExpression value to the filter
 java.util.Iterator getMessageContentExpressions()
          Get an iterator over all the MessageContent values set in the filter
 java.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 filter
 java.util.Iterator getTopicExpressions()
          Get an iterator over all the TopicExpression values set in the filter
 void removeAllMessageContentExpressions()
          Remove all MessageContent values from the filter
 void removeAllProducerPropertiesExpressions()
          Remove all MessageContent values from the filter
 void removeAllTopicExpressions()
          Remove all TopicExpression values from the filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Constructor Detail

Filter

public Filter()
Default constructor

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, see getTopicExpressions() , getMessageContentExpressions() and getProducerPropertiesExpressions()

Returns:
An iterator over the custom SOAPElement values set in this filter

IBM WebSphere Application ServerTM
Release 7