org.talend.esb.sam.common.filter.impl
Class JxPathFilter

java.lang.Object
  extended by org.talend.esb.sam.common.filter.impl.JxPathFilter
All Implemented Interfaces:
EventFilter

public class JxPathFilter
extends Object
implements EventFilter

The Class JxPathFilter.


Constructor Summary
JxPathFilter()
          Instantiates a new jx path filter.
JxPathFilter(String expression)
          Instantiates a new jx path filter.
 
Method Summary
 boolean filter(Event event)
          Filter the events.
 void setExpression(String expression)
          Sets the expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JxPathFilter

public JxPathFilter()
Instantiates a new jx path filter.


JxPathFilter

public JxPathFilter(String expression)
Instantiates a new jx path filter.

Parameters:
expression - the expression
Method Detail

setExpression

public void setExpression(String expression)
Sets the expression.

Parameters:
expression - the new expression

filter

public boolean filter(Event event)
Description copied from interface: EventFilter
Filter the events.

Specified by:
filter in interface EventFilter
Parameters:
event - the event
Returns:
true, if successful


Copyright © 2011–2014 Talend Inc.. All rights reserved.