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 StringgetResultValue()SynapseXPathgetSourceXpath()booleanisSatisfied(MessageContext mc)Check the incoming event satisfied with the defined filtervoidsetResultValue(String resultValue)voidsetSourceXpath(SynapseXPath sourceXpath)StringtoString()
-
-
-
Method Detail
-
isSatisfied
public boolean isSatisfied(MessageContext mc)
Description copied from interface:SynapseEventFilterCheck the incoming event satisfied with the defined filter- Specified by:
isSatisfiedin 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)
-
-