ca.tnt.ldaputils.annotations.processing
Class AnnotationProcessor

Package class diagram package AnnotationProcessor
java.lang.Object
  extended by ca.tnt.ldaputils.annotations.processing.AnnotationProcessor

public class AnnotationProcessor
extends Object

Processes annotations all the way through a tree of Java classes, using callbacks as the method of handling them. See the IAnnotationHandler for more information on the callbacks.

Created : 21-Aug-2010 11:34:50 PM MST

Author:
Trenton D. Adams

Field Summary
protected  List<IAnnotationHandler> handlers
           
 
Constructor Summary
AnnotationProcessor()
          no args constructor
 
Method Summary
 void addHandler(IAnnotationHandler annotationHandler)
          Adds an annotation handler to the processing.
 boolean processAnnotations()
          process the annotations using the handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handlers

protected List<IAnnotationHandler> handlers
Constructor Detail

AnnotationProcessor

public AnnotationProcessor()
no args constructor

Method Detail

addHandler

public void addHandler(IAnnotationHandler annotationHandler)
Adds an annotation handler to the processing.

Parameters:
annotationHandler - annotation handler to make callbacks to.

processAnnotations

public boolean processAnnotations()
process the annotations using the handler