org.codehaus.enunciate.apt
Class EnunciateAnnotationProcessorFactory

java.lang.Object
  extended by net.sf.jelly.apt.ProcessorFactory
      extended by org.codehaus.enunciate.apt.EnunciateAnnotationProcessorFactory
All Implemented Interfaces:
com.sun.mirror.apt.AnnotationProcessorFactory

public class EnunciateAnnotationProcessorFactory
extends net.sf.jelly.apt.ProcessorFactory

Author:
Ryan Heaton

Field Summary
static java.lang.String CONFIG_OPTION
          Option to specify the config file to use.
static java.lang.String FM_LIBRARY_NS_OPTION
          Option to specify the namespace of the enunciate transform library.
static java.lang.String VERBOSE_OPTION
          Option to specify a verbose output.
 
Fields inherited from class net.sf.jelly.apt.ProcessorFactory
DECLARATION_DECORATOR_OPTION, JAVADOC_TAG_HANDLER_OPTION, round, template, TEMPLATE_CLASSPATH_OPTION, TEMPLATE_FILE_OPTION, TEMPLATE_URL_OPTION, TYPE_DECORATOR_OPTION
 
Constructor Summary
EnunciateAnnotationProcessorFactory(Enunciate enunciate, java.lang.String... additionalApiClasses)
           
 
Method Summary
protected  com.sun.mirror.apt.AnnotationProcessor getProcessorFor(java.util.Set<com.sun.mirror.declaration.AnnotationTypeDeclaration> annotations)
           
protected  com.sun.mirror.apt.AnnotationProcessor newProcessor(java.net.URL url)
           
 java.util.Collection<java.lang.String> supportedAnnotationTypes()
           
 java.util.Collection<java.lang.String> supportedOptions()
           
 void throwAnyErrors()
          Throws any errors that occurred during processing.
 
Methods inherited from class net.sf.jelly.apt.ProcessorFactory
decorateEnvironment, getProcessorFor, getTemplateURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_OPTION

public static final java.lang.String CONFIG_OPTION
Option to specify the config file to use.

See Also:
Constant Field Values

FM_LIBRARY_NS_OPTION

public static final java.lang.String FM_LIBRARY_NS_OPTION
Option to specify the namespace of the enunciate transform library.

See Also:
Constant Field Values

VERBOSE_OPTION

public static final java.lang.String VERBOSE_OPTION
Option to specify a verbose output.

See Also:
Constant Field Values
Constructor Detail

EnunciateAnnotationProcessorFactory

public EnunciateAnnotationProcessorFactory(Enunciate enunciate,
                                           java.lang.String... additionalApiClasses)
                                    throws EnunciateException
Throws:
EnunciateException
Method Detail

supportedOptions

public java.util.Collection<java.lang.String> supportedOptions()
Specified by:
supportedOptions in interface com.sun.mirror.apt.AnnotationProcessorFactory
Overrides:
supportedOptions in class net.sf.jelly.apt.ProcessorFactory

supportedAnnotationTypes

public java.util.Collection<java.lang.String> supportedAnnotationTypes()
Specified by:
supportedAnnotationTypes in interface com.sun.mirror.apt.AnnotationProcessorFactory
Overrides:
supportedAnnotationTypes in class net.sf.jelly.apt.ProcessorFactory

getProcessorFor

protected com.sun.mirror.apt.AnnotationProcessor getProcessorFor(java.util.Set<com.sun.mirror.declaration.AnnotationTypeDeclaration> annotations)
Overrides:
getProcessorFor in class net.sf.jelly.apt.ProcessorFactory

newProcessor

protected com.sun.mirror.apt.AnnotationProcessor newProcessor(java.net.URL url)
Specified by:
newProcessor in class net.sf.jelly.apt.ProcessorFactory

throwAnyErrors

public void throwAnyErrors()
                    throws EnunciateException,
                           java.io.IOException
Throws any errors that occurred during processing.

Throws:
EnunciateException
java.io.IOException