com.sun.tools.jxc
Class SchemaGenTask

java.lang.Object
  extended by Javac
      extended by com.sun.tools.jxc.ApBasedTask
          extended by com.sun.tools.jxc.SchemaGenTask

public class SchemaGenTask
extends ApBasedTask

Ant task to invoke the schema generator.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 class SchemaGenTask.Schema
          Nested schema element to specify the namespace -> file name mapping.
 
Constructor Summary
SchemaGenTask()
           
 
Method Summary
 SchemaGenTask.Schema createSchema()
           
protected  String getCompilationMessage()
           
protected  String getFailedMessage()
           
protected  Processor getProcessor()
          Creates a factory that does the actual job.
 void setEpisode(File f)
          Sets the episode file to be generated.
protected  void setupCommandlineSwitches(Commandline cmd)
          Implemented by the derived class to set up command line switches passed to annotation processing.
 
Methods inherited from class com.sun.tools.jxc.ApBasedTask
compile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaGenTask

public SchemaGenTask()
Method Detail

setupCommandlineSwitches

protected void setupCommandlineSwitches(Commandline cmd)
Description copied from class: ApBasedTask
Implemented by the derived class to set up command line switches passed to annotation processing.

Specified by:
setupCommandlineSwitches in class ApBasedTask

getCompilationMessage

protected String getCompilationMessage()
Specified by:
getCompilationMessage in class ApBasedTask

getFailedMessage

protected String getFailedMessage()
Specified by:
getFailedMessage in class ApBasedTask

createSchema

public SchemaGenTask.Schema createSchema()

setEpisode

public void setEpisode(File f)
Sets the episode file to be generated. Null to not to generate one, which is the default behavior.


getProcessor

protected Processor getProcessor()
Description copied from class: ApBasedTask
Creates a factory that does the actual job.

Specified by:
getProcessor in class ApBasedTask


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.