com.sun.tools.jxc
Class AptBasedTask

java.lang.Object
  extended by Javac
      extended by com.sun.tools.jxc.AptBasedTask
Direct Known Subclasses:
SchemaGenTask

public abstract class AptBasedTask
extends Javac

Base class for tasks that eventually invoke APT.


Constructor Summary
AptBasedTask()
           
 
Method Summary
protected  void compile()
           
protected abstract  AnnotationProcessorFactory createFactory()
          Creates a facotry that does the actual job.
protected abstract  java.lang.String getCompilationMessage()
           
protected abstract  java.lang.String getFailedMessage()
           
protected abstract  void setupCommandlineSwitches(Commandline cmd)
          Implemented by the derived class to set up command line switches passed to Apt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptBasedTask

public AptBasedTask()
Method Detail

setupCommandlineSwitches

protected abstract void setupCommandlineSwitches(Commandline cmd)
Implemented by the derived class to set up command line switches passed to Apt.


createFactory

protected abstract AnnotationProcessorFactory createFactory()
Creates a facotry that does the actual job.


compile

protected void compile()

getCompilationMessage

protected abstract java.lang.String getCompilationMessage()

getFailedMessage

protected abstract java.lang.String getFailedMessage()