Class 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)
    • Constructor Detail

      • ValidationComponent

        public ValidationComponent()
    • Method Detail

      • 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