org.mule.routing.filters.xml
Class JXPathFilter

java.lang.Object
  extended byorg.mule.routing.filters.xml.JXPathFilter
All Implemented Interfaces:
UMOFilter

public class JXPathFilter
extends java.lang.Object
implements UMOFilter

JXPathFilter evaluates an XPath expression against an Xml document or bean and returns true if the result is expected.

Version:
$Revision: 1.1.1.1 $
Author:
Vanmeerhaeghe Stéphane

Constructor Summary
JXPathFilter()
           
 
Method Summary
 boolean accept(java.lang.Object obj)
           
 java.lang.String getExpression()
           
 java.lang.String getValue()
           
 void setExpression(java.lang.String expression)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXPathFilter

public JXPathFilter()
Method Detail

accept

public boolean accept(java.lang.Object obj)
Specified by:
accept in interface UMOFilter

getExpression

public java.lang.String getExpression()
Returns:
XPath expression

setExpression

public void setExpression(java.lang.String expression)
Parameters:
expression - The XPath expression

getValue

public java.lang.String getValue()
Returns:
The expected result value of the XPath expression

setValue

public void setValue(java.lang.String value)
Parameters:
value - The expected result value of the XPath expression


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.