org.kuali.rice.kew.xml
Class RuleXmlParser
java.lang.Object
org.kuali.rice.kew.xml.RuleXmlParser
public class RuleXmlParser
- extends Object
Parses rules from XML.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
RuleBaseValues
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleXmlParser
public RuleXmlParser()
parseRuleDelegations
public List<RuleDelegationBo> parseRuleDelegations(InputStream input)
throws IOException,
XmlException
- Throws:
IOException
XmlException
parseRules
public List<RuleBaseValues> parseRules(InputStream input)
throws IOException,
XmlException
- Throws:
IOException
XmlException
parseRules
public List<RuleBaseValues> parseRules(org.jdom.Element element)
throws XmlException
- Parses and saves rules
- Parameters:
element
- top-level 'data' element which should contain a child element
- Throws:
XmlException
parseRuleDelegations
public List<RuleDelegationBo> parseRuleDelegations(org.jdom.Element element)
throws XmlException
- Parses and saves rule delegations
- Parameters:
element
- top-level 'data' element which should contain a child element
- Throws:
XmlException
parseResponsibility
public RuleResponsibilityBo parseResponsibility(org.jdom.Element element,
RuleBaseValues rule)
throws XmlException
- Throws:
XmlException
formatDate
public Timestamp formatDate(String dateLabel,
String dateString)
throws XmlException
- Throws:
XmlException
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.