org.apache.synapse.commons.evaluators.config

## Class AndFactory

- java.lang.Object
- - org.apache.synapse.commons.evaluators.config.AndFactory

- All Implemented Interfaces:
    EvaluatorFactory

      public class AndFactory
      extends java.lang.Object
      implements EvaluatorFactory

  This factory creates a `AndEvaluator`. This factory expects the following XML configuration.

       <and>
           two or more evaluators
       <and>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AndFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Evaluator` | `create(org.apache.axiom.om.OMElement e)` Create an evalautor from the given XML configuration

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AndFactory

          public AndFactory()

  - ### Method Detail

    - #### 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
      Specified by:
        `create` in interface `EvaluatorFactory`
      Parameters:
        `e` - OMElement having the evaluator XML configuration
      Returns:
        an evaluator
      Throws:
        `EvaluatorException` - if a syntax error is there

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