net.sf.jelly.apt
Class APTJellyProcessorFactory

java.lang.Object
  extended by net.sf.jelly.apt.ProcessorFactory
      extended by net.sf.jelly.apt.APTJellyProcessorFactory
All Implemented Interfaces:
com.sun.mirror.apt.AnnotationProcessorFactory

public class APTJellyProcessorFactory
extends ProcessorFactory

Basic annotation processor factory for a APTJellyProcessor.

Author:
Ryan Heaton

Field Summary
static java.lang.String JELLY_SCRIPT_FILE_OPTION
          Option to pass to APT specifying the jelly script on the filesystem to invoke.
static java.lang.String JELLY_SCRIPT_URL_OPTION
          Option to pass to APT specifying a URL of the jelly script to invoke.
 
Fields inherited from class net.sf.jelly.apt.ProcessorFactory
DECLARATION_DECORATOR_OPTION, round, template, TEMPLATE_FILE_OPTION, TEMPLATE_URL_OPTION, TYPE_DECORATOR_OPTION
 
Constructor Summary
APTJellyProcessorFactory()
           
APTJellyProcessorFactory(java.net.URL script)
           
 
Method Summary
protected  java.net.URL getTemplateURL()
          The Jelly processor factory supports more options for backwards-compatability.
protected  com.sun.mirror.apt.AnnotationProcessor newProcessor(java.net.URL url)
          Instantiate a new processor.
 java.util.Collection<java.lang.String> supportedOptions()
          The Jelly processor factory supports more options for backwards-compatability.
 
Methods inherited from class net.sf.jelly.apt.ProcessorFactory
decorateEnvironment, getProcessorFor, getProcessorFor, supportedAnnotationTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JELLY_SCRIPT_FILE_OPTION

public static final java.lang.String JELLY_SCRIPT_FILE_OPTION
Option to pass to APT specifying the jelly script on the filesystem to invoke.

See Also:
Constant Field Values

JELLY_SCRIPT_URL_OPTION

public static final java.lang.String JELLY_SCRIPT_URL_OPTION
Option to pass to APT specifying a URL of the jelly script to invoke.

See Also:
Constant Field Values
Constructor Detail

APTJellyProcessorFactory

public APTJellyProcessorFactory()

APTJellyProcessorFactory

public APTJellyProcessorFactory(java.net.URL script)
Method Detail

supportedOptions

public java.util.Collection<java.lang.String> supportedOptions()
The Jelly processor factory supports more options for backwards-compatability.

Specified by:
supportedOptions in interface com.sun.mirror.apt.AnnotationProcessorFactory
Overrides:
supportedOptions in class ProcessorFactory
Returns:
The Jelly processor factory supports more options for backwards-compatability.

getTemplateURL

protected java.net.URL getTemplateURL()
The Jelly processor factory supports more options for backwards-compatability.

Overrides:
getTemplateURL in class ProcessorFactory
Returns:
The template URL.

newProcessor

protected com.sun.mirror.apt.AnnotationProcessor newProcessor(java.net.URL url)
Description copied from class: ProcessorFactory
Instantiate a new processor.

Specified by:
newProcessor in class ProcessorFactory
Parameters:
url - The URL to the template.
Returns:
The processor.