org.apache.savan.filters
Class XPathBasedFilter

java.lang.Object
  extended byorg.apache.savan.filters.Filter
      extended byorg.apache.savan.filters.XPathBasedFilter

public class XPathBasedFilter
extends Filter

A filter that does filtering of messages based on a XPath string.


Constructor Summary
XPathBasedFilter()
           
 
Method Summary
 boolean checkEnvelopeCompliance(org.apache.axiom.soap.SOAPEnvelope envelope)
          This method may fail due to the JIRA issues WS-Commons(40) amd WS-Commons (41)
 java.lang.Object getFilterValue()
          Returns a previously set filter value.
 java.lang.String getXPathString()
           
 void setUp(org.apache.axiom.om.OMNode element)
          To initialize the filter.
 void setXPathString(java.lang.String XPathString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathBasedFilter

public XPathBasedFilter()
Method Detail

getXPathString

public java.lang.String getXPathString()

setXPathString

public void setXPathString(java.lang.String XPathString)

checkEnvelopeCompliance

public boolean checkEnvelopeCompliance(org.apache.axiom.soap.SOAPEnvelope envelope)
                                throws SavanException
This method may fail due to the JIRA issues WS-Commons(40) amd WS-Commons (41)

Specified by:
checkEnvelopeCompliance in class Filter
Parameters:
envelope -
Returns:
Throws:
SavanException

setUp

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

Specified by:
setUp in class Filter
Parameters:
element -

getFilterValue

public java.lang.Object getFilterValue()
Description copied from class: Filter
Returns a previously set filter value.

Specified by:
getFilterValue in class Filter
Returns:


Copyright © 2007 null. All Rights Reserved.