|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.digester3.annotations.utils.AnnotationUtils
public class AnnotationUtils
Simple utility class to introspect annotations.
Method Summary | |
---|---|
static String |
getAnnotationNamespaceURI(Annotation annotation)
Extract the namespaceURI() from annotation. |
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. |
static boolean |
getFireOnBegin(Annotation annotation)
Extract the fireOnBegin() 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 String getAnnotationNamespaceURI(Annotation annotation)
namespaceURI()
from annotation.
annotation
- The annotation has to be introspected
namespaceURI()
public static boolean getFireOnBegin(Annotation annotation)
fireOnBegin()
from annotation.
annotation
- The annotation has to be introspected
fireOnBegin()
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 |