com.sun.tools.jxc
Class SchemaGenTask
java.lang.Object
Javac
com.sun.tools.jxc.AptBasedTask
com.sun.tools.jxc.SchemaGenTask
public class SchemaGenTask
- extends AptBasedTask
Ant task to invoke the schema generator.
Nested Class Summary |
class |
SchemaGenTask.Schema
Nested schema element to specify the namespace -> file name mapping. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaGenTask
public SchemaGenTask()
setupCommandlineSwitches
protected void setupCommandlineSwitches(Commandline cmd)
- Description copied from class:
AptBasedTask
- Implemented by the derived class to set up command line switches passed to Apt.
- Specified by:
setupCommandlineSwitches
in class AptBasedTask
getCompilationMessage
protected java.lang.String getCompilationMessage()
- Specified by:
getCompilationMessage
in class AptBasedTask
getFailedMessage
protected java.lang.String getFailedMessage()
- Specified by:
getFailedMessage
in class AptBasedTask
createSchema
public SchemaGenTask.Schema createSchema()
setEpisode
public void setEpisode(java.io.File f)
- Sets the episode file to be generated.
Null to not to generate one, which is the default behavior.
createFactory
protected AnnotationProcessorFactory createFactory()
- Description copied from class:
AptBasedTask
- Creates a facotry that does the actual job.
- Specified by:
createFactory
in class AptBasedTask