org.javalid.core.config
Class AnnotationInfo
java.lang.Object
org.javalid.core.config.AnnotationInfo
- All Implemented Interfaces:
- java.io.Serializable
public class AnnotationInfo
- extends java.lang.Object
- implements java.io.Serializable
This simple class can be used by extensions to provide info
about an annotation they support. This way extensions can automatically register
their annotations, so that the user does not have to configure.
An extension can register them through the method registerAnnotations
on JavalidExtension
- Since:
- 1.2
- Version:
- 1.0
- Author:
- M.Reuvers
- See Also:
JavalidExtension.registerAnnotations(),
Serialized Form
|
Constructor Summary |
AnnotationInfo(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
java.lang.Class<? extends JavalidValidator> validatorClass)
|
AnnotationInfo(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
java.lang.Class<? extends JavalidValidator> validatorClass,
java.lang.Class<? extends java.lang.annotation.Annotation> pluralAnnotationClass)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationInfo
public AnnotationInfo(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
java.lang.Class<? extends JavalidValidator> validatorClass)
AnnotationInfo
public AnnotationInfo(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
java.lang.Class<? extends JavalidValidator> validatorClass,
java.lang.Class<? extends java.lang.annotation.Annotation> pluralAnnotationClass)
getAnnotationClass
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationClass()
getPluralAnnotationClass
public java.lang.Class<? extends java.lang.annotation.Annotation> getPluralAnnotationClass()
getValidatorClass
public java.lang.Class<? extends JavalidValidator> getValidatorClass()