DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.input
Class Msp2EditValidator

java.lang.Object
  extended by org.dlese.dpc.schemedit.input.SchemEditValidator
      extended by 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

Field Summary
 
Fields inherited from class org.dlese.dpc.schemedit.input.SchemEditValidator
docMap, framework, im, request, schemaHelper, sef
 
Constructor Summary
Msp2EditValidator(SchemEditForm sef, MetaDataFramework framework, org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Constructor for the Msp2EditValidator object
 
Method Summary
protected  boolean skipFieldValidation(InputField inputField)
           
 SchemEditActionErrors validateForm()
          Validates the metadata fields contained in a request by calling validateMultiValueFields , then validateAttributeFields, and finally validateElementFields .
 
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
 

Constructor Detail

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 Parameter
framework - Description of the Parameter
request - Description of the Parameter
mapping - NOT YET DOCUMENTED
Method Detail

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

DLESE Tools
v1.6.0