org.apache.struts.annotations.taglib.apt
Class TLDAnnotationProcessorFactory

java.lang.Object
  extended by org.apache.struts.annotations.taglib.apt.TLDAnnotationProcessorFactory
All Implemented Interfaces:
com.sun.mirror.apt.AnnotationProcessorFactory

public class TLDAnnotationProcessorFactory
extends java.lang.Object
implements com.sun.mirror.apt.AnnotationProcessorFactory


Constructor Summary
TLDAnnotationProcessorFactory()
           
 
Method Summary
 com.sun.mirror.apt.AnnotationProcessor getProcessorFor(java.util.Set<com.sun.mirror.declaration.AnnotationTypeDeclaration> declarations, com.sun.mirror.apt.AnnotationProcessorEnvironment env)
          Returns a TLD annotation processor.
 java.util.Collection<java.lang.String> supportedAnnotationTypes()
          This factory builds a processor for Tag and TagAttribute
 java.util.Collection<java.lang.String> supportedOptions()
          Options used to generate the TLD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TLDAnnotationProcessorFactory

public TLDAnnotationProcessorFactory()
Method Detail

getProcessorFor

public com.sun.mirror.apt.AnnotationProcessor getProcessorFor(java.util.Set<com.sun.mirror.declaration.AnnotationTypeDeclaration> declarations,
                                                              com.sun.mirror.apt.AnnotationProcessorEnvironment env)
Returns a TLD annotation processor.

Specified by:
getProcessorFor in interface com.sun.mirror.apt.AnnotationProcessorFactory
Returns:
An annotation processor for note annotations if requested, otherwise, returns the NO_OP annotation processor.

supportedAnnotationTypes

public java.util.Collection<java.lang.String> supportedAnnotationTypes()
This factory builds a processor for Tag and TagAttribute

Specified by:
supportedAnnotationTypes in interface com.sun.mirror.apt.AnnotationProcessorFactory
Returns:
a collection containing StutsTag and StrutsTagAttribute

supportedOptions

public java.util.Collection<java.lang.String> supportedOptions()
Options used to generate the TLD

Specified by:
supportedOptions in interface com.sun.mirror.apt.AnnotationProcessorFactory
Returns:
an empty list.


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.