Package com.sun.tools.jxc
Class SchemaGenBase
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.apache.tools.ant.taskdefs.Javac
com.sun.tools.jxc.ApBasedTask
com.sun.tools.jxc.SchemaGenBase
- All Implemented Interfaces:
Cloneable,org.apache.tools.ant.types.selectors.SelectorContainer
- Direct Known Subclasses:
SchemaGenTask
- Author:
- Yan GAO (gaoyan.gao@oracle.com)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassNested schema element to specify thenamespace -> file namemapping.Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.Javac
org.apache.tools.ant.taskdefs.Javac.ImplementationSpecificArgument -
Field Summary
Fields inherited from class org.apache.tools.ant.taskdefs.Javac
compileList, failOnError, listFilesFields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
filesetFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcompile()org.apache.tools.ant.types.Commandline.Argumentprotected Stringprotected StringbooleangetFork()org.apache.tools.ant.types.Pathorg.apache.tools.ant.types.Pathprotected ProcessorCreates a factory that does the actual job.org.apache.tools.ant.types.PathvoidsetAddexports(String aes) voidsetAddmodules(String ams) voidsetAddopens(String aos) voidsetAddreads(String ars) voidsetEpisode(File f) Sets the episode file to be generated.voidsetFork(boolean flg) voidsetLimitmodules(String lms) voidsetModulepath(org.apache.tools.ant.types.Path mp) voidsetModulesourcepath(org.apache.tools.ant.types.Path msp) voidsetPatchmodule(String pms) protected org.apache.tools.ant.types.CommandlineJavaSet up command line to invoke.protected voidsetupCommandlineSwitches(org.apache.tools.ant.types.Commandline cmd) Implemented by the derived class to set up command line switches passed to annotation processing.voidsetUpgrademodulepath(org.apache.tools.ant.types.Path ump) Methods inherited from class org.apache.tools.ant.taskdefs.Javac
add, checkParameters, createBootclasspath, createClasspath, createCompilerArg, createCompilerClasspath, createExtdirs, createModulepath, createModulesourcepath, createSourcepath, createSrc, createUpgrademodulepath, execute, getBootclasspath, getClasspath, getCompiler, getCompilerVersion, getCurrentCompilerArgs, getDebug, getDebugLevel, getDepend, getDeprecation, getDestdir, getEncoding, getExecutable, getExtdirs, getFailonerror, getFileList, getIncludeantruntime, getIncludejavaruntime, getJavacExecutable, getListfiles, getMemoryInitialSize, getMemoryMaximumSize, getNativeHeaderDir, getNowarn, getOptimize, getRelease, getSource, getSourcepath, getSrcdir, getSystemJavac, getTarget, getTaskSuccess, getTempdir, getVerbose, isForkedJavac, isIncludeDestClasses, isJdkCompiler, recreateSrc, resetFileLists, scanDir, setBootclasspath, setBootClasspathRef, setClasspath, setClasspathRef, setCompiler, setCreateMissingPackageInfoClass, setDebug, setDebugLevel, setDepend, setDeprecation, setDestdir, setEncoding, setErrorProperty, setExecutable, setExtdirs, setFailonerror, setIncludeantruntime, setIncludeDestClasses, setIncludejavaruntime, setListfiles, setMemoryInitialSize, setMemoryMaximumSize, setModulepathRef, setModulesourcepathRef, setNativeHeaderDir, setNowarn, setOptimize, setProceed, setRelease, setSource, setSourcepath, setSourcepathRef, setSrcdir, setTarget, setTempdir, setUpdatedProperty, setUpgrademodulepathRef, setVerboseMethods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItemsMethods 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation
-
Constructor Details
-
SchemaGenBase
public SchemaGenBase()
-
-
Method Details
-
createJvmarg
public org.apache.tools.ant.types.Commandline.Argument createJvmarg() -
setModulepath
public void setModulepath(org.apache.tools.ant.types.Path mp) - Overrides:
setModulepathin classorg.apache.tools.ant.taskdefs.Javac
-
getModulepath
public org.apache.tools.ant.types.Path getModulepath()- Overrides:
getModulepathin classorg.apache.tools.ant.taskdefs.Javac
-
setModulesourcepath
public void setModulesourcepath(org.apache.tools.ant.types.Path msp) - Overrides:
setModulesourcepathin classorg.apache.tools.ant.taskdefs.Javac
-
getModulesourcepath
public org.apache.tools.ant.types.Path getModulesourcepath()- Overrides:
getModulesourcepathin classorg.apache.tools.ant.taskdefs.Javac
-
setUpgrademodulepath
public void setUpgrademodulepath(org.apache.tools.ant.types.Path ump) - Overrides:
setUpgrademodulepathin classorg.apache.tools.ant.taskdefs.Javac
-
getUpgrademodulepath
public org.apache.tools.ant.types.Path getUpgrademodulepath()- Overrides:
getUpgrademodulepathin classorg.apache.tools.ant.taskdefs.Javac
-
setAddmodules
-
getAddmodules
-
setLimitmodules
-
getLimitmodules
-
setAddreads
-
getAddreads
-
setAddexports
-
getAddexports
-
setPatchmodule
-
getPatchmodule
-
setAddopens
-
getAddopens
-
setupCommandlineSwitches
protected void setupCommandlineSwitches(org.apache.tools.ant.types.Commandline cmd) Description copied from class:ApBasedTaskImplemented by the derived class to set up command line switches passed to annotation processing.- Specified by:
setupCommandlineSwitchesin classApBasedTask
-
getCompilationMessage
- Specified by:
getCompilationMessagein classApBasedTask
-
getFailedMessage
- Specified by:
getFailedMessagein classApBasedTask
-
setFork
public void setFork(boolean flg) - Overrides:
setForkin classorg.apache.tools.ant.taskdefs.Javac
-
getFork
public boolean getFork() -
createSchema
-
setEpisode
Sets the episode file to be generated. Null to not to generate one, which is the default behavior. -
getEpisode
-
getProcessor
Description copied from class:ApBasedTaskCreates a factory that does the actual job.- Specified by:
getProcessorin classApBasedTask
-
compile
protected void compile()- Overrides:
compilein classApBasedTask
-
setupCommand
protected org.apache.tools.ant.types.CommandlineJava setupCommand()Set up command line to invoke.- Returns:
- ready to run command line
-