Class XPathBasedEventFilter
- java.lang.Object
-
- org.apache.synapse.eventing.filters.XPathBasedEventFilter
-
- All Implemented Interfaces:
SynapseEventFilter
public class XPathBasedEventFilter extends Object implements SynapseEventFilter
-
-
Constructor Summary
Constructors Constructor Description XPathBasedEventFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getResultValue()
SynapseXPath
getSourceXpath()
boolean
isSatisfied(MessageContext mc)
Check the incoming event satisfied with the defined filtervoid
setResultValue(String resultValue)
void
setSourceXpath(SynapseXPath sourceXpath)
String
toString()
-
-
-
Method Detail
-
isSatisfied
public boolean isSatisfied(MessageContext mc)
Description copied from interface:SynapseEventFilter
Check the incoming event satisfied with the defined filter- Specified by:
isSatisfied
in interfaceSynapseEventFilter
- Parameters:
mc
- Message Context- Returns:
- True|False
-
getSourceXpath
public SynapseXPath getSourceXpath()
-
setSourceXpath
public void setSourceXpath(SynapseXPath sourceXpath)
-
getResultValue
public String getResultValue()
-
setResultValue
public void setResultValue(String resultValue)
-
-