public class OsmEditValidator extends SchemEditValidator
docMap, framework, im, request, schemaHelper, sef
Constructor and Description |
---|
OsmEditValidator(SchemEditForm sef,
MetaDataFramework framework,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Constructor for the OsmEditValidator object
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
skipFieldValidation(InputField inputField)
Suppress validation of the pubName field, since it is handled in
validateForm
|
SchemEditActionErrors |
validateForm()
Custom validator for pubName field that throws a validation error when this
field is empty, even though the schema allows it to be empty.
|
exposeField, getEntityErrors, getInputManager, hasEntityErrors, isLastRequiredRepeatingElement, pruneInstanceDoc, pruneRepeatingFields, updateMultiValueFields, validateAttributeFields, validateDeletion, validateDocument, validateElementFields, validateMultiValueFields
public OsmEditValidator(SchemEditForm sef, MetaDataFramework framework, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
sef
- Description of the Parameterframework
- Description of the Parameterrequest
- Description of the Parametermapping
- NOT YET DOCUMENTEDprotected boolean skipFieldValidation(InputField inputField)
skipFieldValidation
in class SchemEditValidator
inputField
- Description of the Parameterpublic SchemEditActionErrors validateForm()
validateForm
in class SchemEditValidator