Package org.apache.synapse.commons.evaluators.config

# Class MatchFactory

java.lang.Object
org.apache.synapse.commons.evaluators.config.TextProcessingEvaluatorFactory
org.apache.synapse.commons.evaluators.config.MatchFactory

All Implemented Interfaces:
  `EvaluatorFactory`

public class MatchFactory extends TextProcessingEvaluatorFactory
This Factory creates a `MatchEvaluator` using the following XML configuration.

     <match type="header | param | url" source="" regex=""/>

- ## Field Summary

  ### Fields inherited from class org.apache.synapse.commons.evaluators.config.TextProcessingEvaluatorFactory

  `log`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MatchFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Evaluator`
  `create(org.apache.axiom.om.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 Details

  - ### MatchFactory

    public MatchFactory()

- ## Method Details

  - ### create

    public Evaluator create(org.apache.axiom.om.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