org.kuali.rice.kew.edl.components
Class ValidationComponent
java.lang.Object
org.kuali.rice.kew.edl.components.SimpleWorkflowEDLConfigComponent
org.kuali.rice.kew.edl.components.ValidationComponent
- All Implemented Interfaces:
- EDLModelComponent
public class ValidationComponent
- extends SimpleWorkflowEDLConfigComponent
- implements EDLModelComponent
Executes validations that are defined on the EDL Definitions. These validation exist in a form
similiar to the following:
wf:field('grade') = 'other' and not(wf:empty(wf:field('otherGrade'))
Other Grade is required when grade is marked as 'other'
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationComponent
public ValidationComponent()
updateDOM
public void updateDOM(org.w3c.dom.Document dom,
org.w3c.dom.Element configElement,
EDLContext edlContext)
- Specified by:
updateDOM
in interface EDLModelComponent
- Overrides:
updateDOM
in class SimpleWorkflowEDLConfigComponent
parseValidations
protected java.util.List<EDLValidation> parseValidations(org.w3c.dom.Document document)
throws java.lang.Exception
- Throws:
java.lang.Exception
executeValidation
protected void executeValidation(javax.xml.xpath.XPath xpath,
org.w3c.dom.Document dom,
EDLValidation validation,
EDLContext edlContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.