com.sun.tools.xjc
Class XJCTask
java.lang.Object
Task
com.sun.istack.tools.ProtectedTask
com.sun.tools.xjc.XJCTask
public class XJCTask
- extends ProtectedTask
Captures the properties and then delegate to XJC1 or XJC2 by looking at
the source attribute.
- Author:
- Bhakti Mehta
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XJCTask
public XJCTask()
setSource
public void setSource(String version)
- The version of the compiler to run
createClassLoader
protected ClassLoader createClassLoader()
throws ClassNotFoundException,
IOException
- Description copied from class:
ProtectedTask
- Creates a protective class loader that will host the actual task.
- Specified by:
createClassLoader in class ProtectedTask
- Throws:
ClassNotFoundException
IOException
getCoreClassName
protected String getCoreClassName()
- Description copied from class:
ProtectedTask
- Returns the name of the class that extends
Task.
This class will be loaded int the protected classloader.
- Specified by:
getCoreClassName in class ProtectedTask
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.