|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTask
com.sun.istack.tools.ProtectedTask
com.sun.tools.xjc.XJCTask
public class XJCTask
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()
Creates a protective class loader that will host the actual task. |
protected java.lang.String |
getCoreClassName()
Returns the name of the class that extends Task. |
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 |
|---|
public XJCTask()
| Method Detail |
|---|
public void setSource(java.lang.String version)
protected java.lang.ClassLoader createClassLoader()
throws java.lang.ClassNotFoundException,
java.io.IOException
ProtectedTask
createClassLoader in class ProtectedTaskjava.lang.ClassNotFoundException
java.io.IOExceptionprotected java.lang.String getCoreClassName()
ProtectedTaskTask.
This class will be loaded int the protected classloader.
getCoreClassName in class ProtectedTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||