Package org.kuali.rice.kew.xml
Class RuleXmlParser
java.lang.Object
org.kuali.rice.kew.xml.RuleXmlParser
Parses rules from XML.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatDate(String dateLabel, String dateString) parseResponsibility(org.jdom2.Element element, RuleBaseValues rule) parseRuleDelegations(InputStream input) parseRuleDelegations(org.jdom2.Element element) Parses and saves rule delegationsparseRules(InputStream input) parseRules(org.jdom2.Element element) Parses and saves rules
-
Constructor Details
-
RuleXmlParser
public RuleXmlParser()
-
-
Method Details
-
parseRuleDelegations
public List<RuleDelegationBo> parseRuleDelegations(InputStream input) throws IOException, org.kuali.rice.core.api.util.xml.XmlException - Throws:
IOExceptionorg.kuali.rice.core.api.util.xml.XmlException
-
parseRules
public List<RuleBaseValues> parseRules(InputStream input) throws IOException, org.kuali.rice.core.api.util.xml.XmlException - Throws:
IOExceptionorg.kuali.rice.core.api.util.xml.XmlException
-
parseRules
public List<RuleBaseValues> parseRules(org.jdom2.Element element) throws org.kuali.rice.core.api.util.xml.XmlException Parses and saves rules- Parameters:
element- top-level 'data' element which should contain a <rules> child element- Throws:
org.kuali.rice.core.api.util.xml.XmlException
-
parseRuleDelegations
public List<RuleDelegationBo> parseRuleDelegations(org.jdom2.Element element) throws org.kuali.rice.core.api.util.xml.XmlException Parses and saves rule delegations- Parameters:
element- top-level 'data' element which should contain a <rules> child element- Throws:
org.kuali.rice.core.api.util.xml.XmlException
-
parseResponsibility
public RuleResponsibilityBo parseResponsibility(org.jdom2.Element element, RuleBaseValues rule) throws org.kuali.rice.core.api.util.xml.XmlException - Throws:
org.kuali.rice.core.api.util.xml.XmlException
-
formatDate
public Timestamp formatDate(String dateLabel, String dateString) throws org.kuali.rice.core.api.util.xml.XmlException - Throws:
org.kuali.rice.core.api.util.xml.XmlException
-