com.sun.tools.xjc
Class XJCTask

java.lang.Object
  extended by org.apache.tools.ant.Task
      extended by com.sun.istack.tools.ProtectedTask
          extended by com.sun.tools.xjc.XJCTask
All Implemented Interfaces:
org.apache.tools.ant.DynamicConfigurator

public class XJCTask
extends com.sun.istack.tools.ProtectedTask

Captures the properties and then delegate to XJC1 or XJC2 by looking at the source attribute.


Constructor Summary
XJCTask()
           
 
Method Summary
protected  java.lang.ClassLoader createClassLoader()
           
protected  java.lang.String getCoreClassName()
           
 void setSource(java.lang.String version)
          The version of the compiler to run
 
Methods inherited from class com.sun.istack.tools.ProtectedTask
createDynamicElement, execute, setDynamicAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XJCTask

public XJCTask()
Method Detail

setSource

public void setSource(java.lang.String version)
The version of the compiler to run


createClassLoader

protected java.lang.ClassLoader createClassLoader()
                                           throws java.lang.ClassNotFoundException,
                                                  java.io.IOException
Specified by:
createClassLoader in class com.sun.istack.tools.ProtectedTask
Throws:
java.lang.ClassNotFoundException
java.io.IOException

getCoreClassName

protected java.lang.String getCoreClassName()
Specified by:
getCoreClassName in class com.sun.istack.tools.ProtectedTask