| |
|
| java.lang.Object com.sun.tools.ws.wscompile.Options
All known Subclasses: com.sun.tools.ws.wscompile.WsimportOptions, com.sun.tools.ws.wscompile.WsgenOptions,
Options | public class Options (Code) | | Provide common jaxws tool options.
author: Vivek Pandey |
Inner Class :public enum Target | |
EXTENSION | final public static int EXTENSION(Code) | | loosely follow the compatibility rules and allow the use of vendor
binding extensions
|
STRICT | final public static int STRICT(Code) | | strictly follow the compatibility rules specified in JAXWS spec
|
compatibilityMode | public int compatibilityMode(Code) | | this switch determines how carefully the compiler will follow
the compatibility rules in the spec. Either STRICT
or EXTENSION .
|
debug | public boolean debug(Code) | | |
debugMode | public boolean debugMode(Code) | | |
keep | public boolean keep(Code) | | -keep
|
nocompile | public boolean nocompile(Code) | | -Xnocompile
|
quiet | public boolean quiet(Code) | | - quite
|
target | public Target target(Code) | | |
targetDir | public File targetDir(Code) | | Target direcoty when producing files.
|
verbose | public boolean verbose(Code) | | -verbose
|
addGeneratedFile | public void addGeneratedFile(File file)(Code) | | Remember info on generated source file generated so that it
can be removed later, if appropriate.
|
deleteGeneratedFiles | public void deleteGeneratedFiles()(Code) | | Delete all the generated source files made during the execution
of this environment (those that have been registered with the
"addGeneratedFile" method).
|
fileToURL | public static URL fileToURL(File file)(Code) | | Returns the directory or JAR file URL corresponding to the specified
local file name.
Parameters: file - the File object the resulting directory or JAR file URL, or null if unknown |
getClassLoader | public ClassLoader getClassLoader()(Code) | | Get a URLClassLoader from using the classpath
|
getGeneratedFiles | public Iterable<File> getGeneratedFiles()(Code) | | Return all the generated files and its types.
|
isExtensionMode | public boolean isExtensionMode()(Code) | | |
parseArguments | protected int parseArguments(String[] args, int i) throws BadCommandLineException(Code) | | Parses an option args[i] and return
the number of tokens consumed.
0 if the argument is not understood. Returning 0will let the caller report an error. exception: BadCommandLineException - If the callee wants to provide a custom message for an error. |
pathToURLs | public static URL[] pathToURLs(String path)(Code) | | Utility method for converting a search path string to an array
of directory and JAR file URLs.
Parameters: path - the search path string the resulting array of directory and JAR file URLs |
removeGeneratedFiles | public void removeGeneratedFiles()(Code) | | Remove generated files
|
|
|
|