org.apache.beehive.netui.pageflow.internal
Class AnnotationReader

Object
  extended by AnnotationReader
All Implemented Interfaces:
Serializable

public class AnnotationReader
extends Object
implements Serializable

Utility for reading XML files that describe annotations in classes. These files are generated during Page Flow build.

See Also:
Serialized Form

Method Summary
 ProcessedAnnotation getAnnotation(String declarationName, String annotationTypeName)
           
static ProcessedAnnotation[] getAnnotationArrayAttribute(ProcessedAnnotation ann, String attrName)
           
static AnnotationReader getAnnotationReader(Class type, ServletContext servletContext)
           
 ProcessedAnnotation getJpfAnnotation(Class type, String annotationTypeName)
           
 ProcessedAnnotation getJpfAnnotation(Member member, String annotationTypeName)
           
static String getStringAttribute(ProcessedAnnotation ann, String attrName)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAnnotationReader

public static AnnotationReader getAnnotationReader(Class type,
                                                   ServletContext servletContext)

getAnnotation

public ProcessedAnnotation getAnnotation(String declarationName,
                                         String annotationTypeName)

getJpfAnnotation

public ProcessedAnnotation getJpfAnnotation(Member member,
                                            String annotationTypeName)

getJpfAnnotation

public ProcessedAnnotation getJpfAnnotation(Class type,
                                            String annotationTypeName)

getStringAttribute

public static String getStringAttribute(ProcessedAnnotation ann,
                                        String attrName)

getAnnotationArrayAttribute

public static ProcessedAnnotation[] getAnnotationArrayAttribute(ProcessedAnnotation ann,
                                                                String attrName)