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

java.lang.Object
  extended by org.apache.synapse.commons.evaluators.config.TextProcessingEvaluatorFactory
      extended by org.apache.synapse.commons.evaluators.config.EqualFactory
All Implemented Interfaces:
EvaluatorFactory

public class EqualFactory
extends TextProcessingEvaluatorFactory

This factory creates a EqualEvaluator. This factory expects the following XML configuration.

 <equal type="header | param | url" source="" value=""/>
 


Field Summary
 
Fields inherited from class org.apache.synapse.commons.evaluators.config.TextProcessingEvaluatorFactory
log
 
Constructor Summary
EqualFactory()
           
 
Method Summary
 Evaluator create(OMElement e)
          Create an evalautor from the given XML configuration
 
Methods inherited from class org.apache.synapse.commons.evaluators.config.TextProcessingEvaluatorFactory
getSourceTextRetriever, handleException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualFactory

public EqualFactory()
Method Detail

create

public Evaluator create(OMElement e)
                 throws EvaluatorException
Description copied from interface: EvaluatorFactory
Create an evalautor from the given XML configuration

Parameters:
e - OMElement having the evaluator XML configuration
Returns:
an evaluator
Throws:
EvaluatorException - if a syntax error is there


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