|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
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.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
XJCTask()
|
|
| Method Summary | |
|---|---|
protected ClassLoader |
createClassLoader()
Creates a protective class loader that will host the actual task. |
protected String |
getCoreClassName()
Returns the name of the class that extends Task. |
void |
setSource(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 org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XJCTask()
| Method Detail |
|---|
public void setSource(String version)
protected ClassLoader createClassLoader()
throws ClassNotFoundException,
IOException
ProtectedTask
createClassLoader in class ProtectedTaskClassNotFoundException
IOExceptionprotected 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 | |||||||||