Package org.mycore.wfc.actionmapping
Class MCRWorkflowRuleAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,org.mycore.parsers.bool.MCRCondition<?>>
-
- org.mycore.wfc.actionmapping.MCRWorkflowRuleAdapter
-
public class MCRWorkflowRuleAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,org.mycore.parsers.bool.MCRCondition<?>>A JAXB XML Adapter that parses String to MCRCondition an back.- Author:
- Thomas Scheffler (yagee)
-
-
Constructor Summary
Constructors Constructor Description MCRWorkflowRuleAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.mycore.parsers.bool.MCRBooleanClauseParsergetClauseParser()Returns a parser instance that is used inunmarshal(String).java.lang.Stringmarshal(org.mycore.parsers.bool.MCRCondition<?> v)org.mycore.parsers.bool.MCRCondition<?>unmarshal(java.lang.String v)
-
-
-
Method Detail
-
getClauseParser
protected org.mycore.parsers.bool.MCRBooleanClauseParser getClauseParser()
Returns a parser instance that is used inunmarshal(String).- Returns:
- instance of
MCRWorkflowRuleParser
-
unmarshal
public org.mycore.parsers.bool.MCRCondition<?> unmarshal(java.lang.String v) throws java.lang.Exception- Specified by:
unmarshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,org.mycore.parsers.bool.MCRCondition<?>>- Throws:
java.lang.Exception
-
marshal
public java.lang.String marshal(org.mycore.parsers.bool.MCRCondition<?> v) throws java.lang.Exception- Specified by:
marshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,org.mycore.parsers.bool.MCRCondition<?>>- Throws:
java.lang.Exception
-
-