org.kuali.rice.edl.impl.components
Class ValidationComponent
java.lang.Object
org.kuali.rice.edl.impl.components.SimpleWorkflowEDLConfigComponent
org.kuali.rice.edl.impl.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 |
XPATH_TYPE
private static final String XPATH_TYPE
- See Also:
- Constant Field Values
edlContext
private EDLContext edlContext
ValidationComponent
public ValidationComponent()
updateDOM
public void updateDOM(Document dom,
Element configElement,
EDLContext edlContext)
- Specified by:
updateDOM
in interface EDLModelComponent
- Overrides:
updateDOM
in class SimpleWorkflowEDLConfigComponent
parseValidations
protected List<EDLValidation> parseValidations(Document document)
throws Exception
- Throws:
Exception
executeValidation
protected void executeValidation(XPath xpath,
Document dom,
EDLValidation validation,
EDLContext edlContext)
throws Exception
- Throws:
Exception
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.