org.mule.routing.filters.xml
Class JXPathFilter
java.lang.Object
org.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.2 $
- Author:
- Vanmeerhaeghe Stéphane
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JXPathFilter
public JXPathFilter()
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.