com.ibm.websphere.sib.wsn

Class Filter

  1. java.lang.Object
  2. extended bycom.ibm.websphere.sib.wsn.Filter

  1. public class Filter
  2. extends java.lang.Object
A class which represents the FilterType type in the WS-Notification Base Notification schema.

Field Summary

Modifier and Type Field and Description
  1. protected
  2. java.util.List
messageContentExpressions
The message content expressions in the filter
  1. protected
  2. java.util.List
otherElements
Custom defined elements in the filter
  1. protected
  2. java.util.List
producerPropertiesExpressions
The producer properties expressions in the filter
  1. protected
  2. java.util.List
topicExpressions
The topic expressions in the filter

Constructor Summary

Constructor and Description
Filter()
Default constructor

Method Summary

Modifier and Type Method and Description
  1. void
addMessageContentExpression(QueryExpression messageContentExpression)
Add a MessageContent value in the filter
  1. void
addOtherSOAPElement(javax.xml.soap.SOAPElement element)
Add a custom SOAPElement to the filter
  1. void
addProducerPropertiesExpression(QueryExpression producerPropertiesExpression)
Add a ProducerProperties value in the filter
  1. void
addTopicExpression(TopicExpression topicExpression)
Add a TopicExpression value to the filter
  1. java.util.Iterator
getMessageContentExpressions()
Get an iterator over all the MessageContent values set in the filter
  1. java.util.Iterator
getOtherSOAPElements()
Get an iterator over all the SOAPElements defined in this filter.
  1. java.util.Iterator
getProducerPropertiesExpressions()
Get an iterator over all the ProducerProperties values set in the filter
  1. java.util.Iterator
getTopicExpressions()
Get an iterator over all the TopicExpression values set in the filter
  1. void
removeAllMessageContentExpressions()
Remove all MessageContent values from the filter
  1. void
removeAllProducerPropertiesExpressions()
Remove all MessageContent values from the filter
  1. 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

  1. protected java.util.List topicExpressions
The topic expressions in the filter

producerPropertiesExpressions

  1. protected java.util.List producerPropertiesExpressions
The producer properties expressions in the filter

messageContentExpressions

  1. protected java.util.List messageContentExpressions
The message content expressions in the filter

otherElements

  1. protected java.util.List otherElements
Custom defined elements in the filter

Constructor Detail

Filter

  1. public Filter()
Default constructor

Method Detail

getTopicExpressions

  1. 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

  1. public void addTopicExpression( TopicExpression topicExpression)
Add a TopicExpression value to the filter
Parameters:
topicExpression - The TopicExpression

removeAllTopicExpressions

  1. public void removeAllTopicExpressions( )
Remove all TopicExpression values from the filter

getMessageContentExpressions

  1. 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

  1. public void addMessageContentExpression( QueryExpression messageContentExpression)
Add a MessageContent value in the filter
Parameters:
messageContentExpression - The MessageContent value

removeAllMessageContentExpressions

  1. public void removeAllMessageContentExpressions( )
Remove all MessageContent values from the filter

getProducerPropertiesExpressions

  1. 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

  1. public void addProducerPropertiesExpression( QueryExpression producerPropertiesExpression)
Add a ProducerProperties value in the filter
Parameters:
producerPropertiesExpression - The ProducerProperties value

removeAllProducerPropertiesExpressions

  1. public void removeAllProducerPropertiesExpressions( )
Remove all MessageContent values from the filter

addOtherSOAPElement

  1. public void addOtherSOAPElement( javax.xml.soap.SOAPElement element)
Add a custom SOAPElement to the filter
Parameters:
element - The SOAPElement to add

getOtherSOAPElements

  1. 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