|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bval.jsr303.xml.AnnotationIgnores
public final class AnnotationIgnores
Description: This class instantiated during the parsing of the XML configuration
data and keeps track of the annotations which should be ignored.
Constructor Summary | |
---|---|
AnnotationIgnores()
|
Method Summary | |
---|---|
boolean |
getDefaultIgnoreAnnotation(Class<?> clazz)
Learn whether the specified annotation type should be ignored. |
boolean |
isIgnoreAnnotations(Class<?> clazz)
Learn whether annotations should be ignored for a given class. |
boolean |
isIgnoreAnnotations(Member member)
Learn whether annotations should be ignored on a particular Member of a class. |
void |
setDefaultIgnoreAnnotation(Class<?> clazz,
Boolean b)
Record the ignore state for a particular annotation type. |
void |
setIgnoreAnnotationsOnClass(Class<?> clazz,
boolean b)
Record the ignore state of a particular class. |
void |
setIgnoreAnnotationsOnMember(Member member)
Ignore annotations on a particular Member of a class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationIgnores()
Method Detail |
---|
public void setDefaultIgnoreAnnotation(Class<?> clazz, Boolean b)
clazz
- b,
- default true if nullpublic boolean getDefaultIgnoreAnnotation(Class<?> clazz)
clazz
-
public void setIgnoreAnnotationsOnMember(Member member)
Member
of a class.
member
- public boolean isIgnoreAnnotations(Member member)
Member
of a class.
member
-
public void setIgnoreAnnotationsOnClass(Class<?> clazz, boolean b)
clazz
- b
- public boolean isIgnoreAnnotations(Class<?> clazz)
clazz
- to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |