Interface EvaluatorSerializer
-
- All Known Implementing Classes:
AbstractEvaluatorSerializer
,AndSerializer
,EqualSerializer
,MatchSerializer
,NotSerializer
,OrSerializer
,TextProcessingEvaluatorSerializer
public interface EvaluatorSerializer
This interface should be implemented by the classes to serialize theEvaluator
object model in to XML configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.axiom.om.OMElement
serialize(org.apache.axiom.om.OMElement parent, Evaluator evaluator)
Serialze an Evaluator configuration to a XML element.
-
-
-
Method Detail
-
serialize
org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent, Evaluator evaluator) throws EvaluatorException
Serialze an Evaluator configuration to a XML element.- Parameters:
parent
- if not null the serialize element will be added to the parentevaluator
- TheEvaluator
object to be serialized- Returns:
OMElement
containing the configuration- Throws:
EvaluatorException
- if an error occurs while serializing
-
-