org.mycore.datamodel.metadata.validator
Class MCREditorOutValidator.MCRMetaHistoryDateCheck
java.lang.Object
org.mycore.datamodel.metadata.validator.MCREditorOutValidator.MCRMetaHistoryDateCheck
- All Implemented Interfaces:
- MCREditorMetadataValidator
- Enclosing class:
- MCREditorOutValidator
static class MCREditorOutValidator.MCRMetaHistoryDateCheck
- extends Object
- implements MCREditorMetadataValidator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCREditorOutValidator.MCRMetaHistoryDateCheck
MCREditorOutValidator.MCRMetaHistoryDateCheck()
checkDataSubTag
public String checkDataSubTag(Element datasubtag)
- Description copied from interface:
MCREditorMetadataValidator
- Gives hints to the editor form developer.
If an element is not valid it is removed from the JDOM document.
The returned String then can give a hint to the form developer, why it is removed.
This method may throw a
RuntimeException in which case the whole validation process will fail.
- Specified by:
checkDataSubTag in interface MCREditorMetadataValidator
- Returns:
- null, everything is OK
validation error message