org.apache.synapse.config.xml
Class FilterMediatorSerializer
java.lang.Object
org.apache.synapse.config.xml.AbstractMediatorSerializer
org.apache.synapse.config.xml.AbstractListMediatorSerializer
org.apache.synapse.config.xml.FilterMediatorSerializer
- All Implemented Interfaces:
- MediatorSerializer
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterMediatorSerializer
public FilterMediatorSerializer()
serializeSpecificMediator
public OMElement serializeSpecificMediator(Mediator m)
- Description copied from class:
AbstractMediatorSerializer
- Specific mediator factory implementations should implement this method to build the
Mediator
by the given XML configuration
- Specified by:
serializeSpecificMediator
in class AbstractMediatorSerializer
- Parameters:
m
- mediator to be serialized
- Returns:
- serialized element of the mediator
getMediatorClassName
public String getMediatorClassName()
- Description copied from interface:
MediatorSerializer
- Return the class name of the mediator which can be serialized
- Returns:
- the class name
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.