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, XmlException - Throws:
IOExceptionXmlException
-
parseRules
- Throws:
IOExceptionXmlException
-
parseRules
Parses and saves rules- Parameters:
element- top-level 'data' element which should contain a <rules> child element- Throws:
XmlException
-
parseRuleDelegations
Parses and saves rule delegations- Parameters:
element- top-level 'data' element which should contain a <rules> child element- Throws:
XmlException
-
parseResponsibility
public RuleResponsibilityBo parseResponsibility(org.jdom2.Element element, RuleBaseValues rule) throws XmlException - Throws:
XmlException
-
formatDate
- Throws:
XmlException
-