org.apache.synapse.commons.evaluators.config
Interface EvaluatorSerializer

All Known Implementing Classes:
AbstractEvaluatorSerializer, AndSerializer, EqualSerializer, MatchSerializer, NotSerializer, OrSerializer, TextProcessingEvaluatorSerializer

public interface EvaluatorSerializer

This interface should be implemented by the classes to serialize the Evaluator object model in to XML configuration.


Method Summary
 OMElement serialize(OMElement parent, Evaluator evaluator)
          Serialze an Evaluator configuration to a XML element.
 

Method Detail

serialize

OMElement serialize(OMElement parent,
                    Evaluator evaluator)
                    throws EvaluatorException
Serialze an Evaluator configuration to a XML element.

Parameters:
parent - if not null the serialize element will be added to the parent
evaluator - The Evaluator object to be serialized
Returns:
OMElement containing the configuration
Throws:
EvaluatorException - if an error occurs while serializing


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.