|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.digester.annotations.utils.AnnotationUtils
public class AnnotationUtils
Simple utility class to introspect annotations.
| Method Summary | |
|---|---|
static String |
getAnnotationPattern(Annotation annotation)
Extract the pattern() from annotation. |
static Annotation[] |
getAnnotationsArrayValue(Annotation annotation)
Extract the Annotations array value() from annotation if present,
nul otherwise. |
static Object |
getAnnotationValue(Annotation annotation)
Extract the value() from annotation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Object getAnnotationValue(Annotation annotation)
value() from annotation.
annotation - the annotation has to be introspected.
value().public static String getAnnotationPattern(Annotation annotation)
pattern() from annotation.
annotation - the annotation has to be introspected.
pattern().public static Annotation[] getAnnotationsArrayValue(Annotation annotation)
value() from annotation if present,
nul otherwise.
annotation - the annotation has to be introspected.
value() as Annotations array.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||