Package org.mycore.wfc.actionmapping
Class MCRWorkflowRuleAdapter
java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<String,MCRCondition<?>>
org.mycore.wfc.actionmapping.MCRWorkflowRuleAdapter
public class MCRWorkflowRuleAdapter
extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,MCRCondition<?>>
A JAXB XML Adapter that parses String to MCRCondition an back.
- Author:
- Thomas Scheffler (yagee)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MCRBooleanClauseParser
Returns a parser instance that is used inunmarshal(String)
.marshal
(MCRCondition<?> v) MCRCondition<?>
-
Constructor Details
-
MCRWorkflowRuleAdapter
public MCRWorkflowRuleAdapter()
-
-
Method Details
-
getClauseParser
Returns a parser instance that is used inunmarshal(String)
.- Returns:
- instance of
MCRWorkflowRuleParser
-
unmarshal
- Specified by:
unmarshal
in classjakarta.xml.bind.annotation.adapters.XmlAdapter<String,
MCRCondition<?>> - Throws:
Exception
-
marshal
- Specified by:
marshal
in classjakarta.xml.bind.annotation.adapters.XmlAdapter<String,
MCRCondition<?>> - Throws:
Exception
-