|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.input.SchemEditValidator org.dlese.dpc.schemedit.input.NsdlAnnoValidator
public class NsdlAnnoValidator
Extension of SchemEditValidator that is only concerned with a few msp2-specific fields.
Field Summary |
---|
Fields inherited from class org.dlese.dpc.schemedit.input.SchemEditValidator |
---|
docMap, framework, im, request, schemaHelper, sef |
Constructor Summary | |
---|---|
NsdlAnnoValidator(SchemEditForm sef,
MetaDataFramework framework,
org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
Constructor for the NsdlAnnoValidator object |
Method Summary | |
---|---|
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. |
Methods inherited from class org.dlese.dpc.schemedit.input.SchemEditValidator |
---|
exposeField, getEntityErrors, getInputManager, hasEntityErrors, isLastRequiredRepeatingElement, pruneInstanceDoc, pruneRepeatingFields, validateAttributeFields, validateDeletion, validateDocument, validateElementFields, validateForm, validateMultiValueFields |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NsdlAnnoValidator(SchemEditForm sef, MetaDataFramework framework, org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
sef
- Description of the Parameterframework
- Description of the Parameterrequest
- Description of the Parametermapping
- NOT YET DOCUMENTEDMethod Detail |
---|
protected boolean skipFieldValidation(InputField inputField)
skipFieldValidation
in class SchemEditValidator
inputField
- Description of the Parameter
public 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
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |