public class FilterMediatorSerializer extends AbstractListMediatorSerializer
<filter (source="xpath" regex="string") | xpath="xpath"> mediator+ </filter>
or if the filter medaitor needs to support the else behavior as well (i.e. a set of mediators to be executed when the filter evaluates to false).
<filter (source="xpath" regex="string") | xpath="xpath">
<then [sequence="string"]>
mediator+
</then>
<else [sequence="string"]>
mediator+
</else>
</filter>
DESCRIPTION_Q, fac, log, nullNS, PROP_Q, synNS| Constructor and Description |
|---|
FilterMediatorSerializer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMediatorClassName()
Return the class name of the mediator which can be serialized
|
org.apache.axiom.om.OMElement |
serializeSpecificMediator(Mediator m)
Specific mediator factory implementations should implement this method to build the
Mediator by the given XML configuration |
serializeChildrenhandleException, handleException, saveTracingState, serializeComments, serializeComments, serializeMediator, serializeMediatorProperties, serializeMediatorProperties, serializeNamespaces, serializePropertiespublic org.apache.axiom.om.OMElement serializeSpecificMediator(Mediator m)
AbstractMediatorSerializerMediator by the given XML configurationserializeSpecificMediator in class AbstractMediatorSerializerm - mediator to be serializedpublic String getMediatorClassName()
MediatorSerializerCopyright © 2005–2019 Apache Software Foundation. All rights reserved.