Class MatchSerializer

All Implemented Interfaces:
EvaluatorSerializer

public class MatchSerializer extends TextProcessingEvaluatorSerializer
Serialize the MatchEvaluator to the XML configuration defined in the MatchFactory.
  • Constructor Details

    • MatchSerializer

      public MatchSerializer()
  • Method Details

    • serialize

      public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.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