org.apache.synapse.commons.evaluators.config
Class EqualSerializer

java.lang.Object
  extended by org.apache.synapse.commons.evaluators.config.AbstractEvaluatorSerializer
      extended by org.apache.synapse.commons.evaluators.config.TextProcessingEvaluatorSerializer
          extended by org.apache.synapse.commons.evaluators.config.EqualSerializer
All Implemented Interfaces:
EvaluatorSerializer

public class EqualSerializer
extends TextProcessingEvaluatorSerializer

Serialize the EqualEvaluator to the XML configuration defined in the EqualFactory.


Field Summary
 
Fields inherited from class org.apache.synapse.commons.evaluators.config.AbstractEvaluatorSerializer
fac, log, nullNS
 
Constructor Summary
EqualSerializer()
           
 
Method Summary
 OMElement serialize(OMElement parent, Evaluator evaluator)
          Serialze an Evaluator configuration to a XML element.
 
Methods inherited from class org.apache.synapse.commons.evaluators.config.TextProcessingEvaluatorSerializer
serializeSourceTextRetriever
 
Methods inherited from class org.apache.synapse.commons.evaluators.config.AbstractEvaluatorSerializer
serializeChild, serializeChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualSerializer

public EqualSerializer()
Method Detail

serialize

public OMElement serialize(OMElement parent,
                           Evaluator evaluator)
                    throws EvaluatorException
Description copied from interface: EvaluatorSerializer
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.