public class NsdlAnnoValidator extends SchemEditValidator
docMap, framework, im, request, schemaHelper, sef
Constructor and Description |
---|
NsdlAnnoValidator(SchemEditForm sef,
MetaDataFramework framework,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Constructor for the NsdlAnnoValidator object
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
skipFieldValidation(InputField inputField)
Suppress validation of all fields under MATERIALS_LIST_PATH
|
void |
updateMultiValueFields()
Validate the multivalue parameters managed by the input manager.
|
exposeField, getEntityErrors, getInputManager, hasEntityErrors, isLastRequiredRepeatingElement, pruneInstanceDoc, pruneRepeatingFields, validateAttributeFields, validateDeletion, validateDocument, validateElementFields, validateForm, validateMultiValueFields
public NsdlAnnoValidator(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 void updateMultiValueFields()
NOTE: fields having subelements or attributes must NOT be "updated" by this method, since it destroys the element before adding a new one with JUST the element text and no child nodes.
updateMultiValueFields
in class SchemEditValidator