org.dlese.dpc.schemedit.input
Class Msp2EditValidator
java.lang.Object
org.dlese.dpc.schemedit.input.SchemEditValidator
org.dlese.dpc.schemedit.input.Msp2EditValidator
public class Msp2EditValidator
- extends SchemEditValidator
Extension of SchemEditValidator that is only concerned with a few msp2-specific fields.
- Author:
- ostwald
Methods inherited from class org.dlese.dpc.schemedit.input.SchemEditValidator |
exposeField, getEntityErrors, getInputManager, hasEntityErrors, isLastRequiredRepeatingElement, pruneInstanceDoc, pruneRepeatingFields, updateMultiValueFields, validateAttributeFields, validateDeletion, validateDocument, validateElementFields, validateMultiValueFields |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Msp2EditValidator
public Msp2EditValidator(SchemEditForm sef,
MetaDataFramework framework,
org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
- Constructor for the Msp2EditValidator object
- Parameters:
sef
- Description of the Parameterframework
- Description of the Parameterrequest
- Description of the Parametermapping
- NOT YET DOCUMENTED
validateForm
public SchemEditActionErrors validateForm()
- Description copied from class:
SchemEditValidator
- Validates the metadata fields contained in a request by calling
validateMultiValueFields
, then validateAttributeFields
, and finally validateElementFields
.
- Overrides:
validateForm
in class SchemEditValidator
- Returns:
- validation errors found during the process of validation
skipFieldValidation
protected boolean skipFieldValidation(InputField inputField)
- Overrides:
skipFieldValidation
in class SchemEditValidator