Class AbstractContentValidator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.cms.contenttype.validation.AbstractContentValidator
- All Implemented Interfaces:
ContentValidator
,LogEnabled
- Direct Known Subclasses:
AbstractIntervalValidator
,AbstractRepeaterWithUniqueContentValidator
,CourseListChoiceValidator
,DegreesInCategoryConsistencyValidator
,ProgramItemHierarchyValidator
public abstract class AbstractContentValidator
extends AbstractLogEnabled
implements ContentValidator
This abstract class represent a global validator for contents.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the content typevoid
setContentType
(ContentType contentType) Set the content typeMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.cms.contenttype.ContentValidator
validate, validate
-
Constructor Details
-
AbstractContentValidator
public AbstractContentValidator()
-
-
Method Details
-
setContentType
Description copied from interface:ContentValidator
Set the content type- Specified by:
setContentType
in interfaceContentValidator
- Parameters:
contentType
- The content type
-
getContentType
Description copied from interface:ContentValidator
Get the content type- Specified by:
getContentType
in interfaceContentValidator
- Returns:
- ContentType
-