org.apache.savan.filters
Class Filter

java.lang.Object
  extended byorg.apache.savan.filters.Filter
Direct Known Subclasses:
EmptyFilter, XPathBasedFilter

public abstract class Filter
extends java.lang.Object

Defines a filter used by Savan.


Constructor Summary
Filter()
           
 
Method Summary
abstract  boolean checkEnvelopeCompliance(org.apache.axiom.soap.SOAPEnvelope envelope)
          To check weather the passed envelope is compliant with the current filter.
abstract  java.lang.Object getFilterValue()
          Returns a previously set filter value.
abstract  void setUp(org.apache.axiom.om.OMNode element)
          To initialize the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter()
Method Detail

checkEnvelopeCompliance

public abstract boolean checkEnvelopeCompliance(org.apache.axiom.soap.SOAPEnvelope envelope)
                                         throws SavanException
To check weather the passed envelope is compliant with the current filter.

Parameters:
envelope -
Returns:
Throws:
SavanException

setUp

public abstract void setUp(org.apache.axiom.om.OMNode element)
To initialize the filter. The filter value should be sent to the argument (for e.g. As a OMText for a String)

Parameters:
element -

getFilterValue

public abstract java.lang.Object getFilterValue()
Returns a previously set filter value.

Returns:


Copyright © 2007 null. All Rights Reserved.