Interface MCREditorMetadataValidator
public interface MCREditorMetadataValidator
Validates the output of the Editor framework.
Implementors have to be thread safe.
- Version:
- $Revision: 1 $ $Date: 08.05.2009 11:51:35 $
- Author:
- Thomas Scheffler (yagee)
-
Method Summary
Modifier and TypeMethodDescriptioncheckDataSubTag
(Element datasubtag) Gives hints to the editor form developer.
-
Method Details
-
checkDataSubTag
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 aRuntimeException
in which case the whole validation process will fail.- Returns:
- null, everything is OK validation error message
-