com.sun.tools.xjc
Class Driver.OptionsEx
java.lang.Object
com.sun.tools.xjc.Options
com.sun.tools.xjc.Driver.OptionsEx
- Enclosing class:
- Driver
static class Driver.OptionsEx
- extends Options
Command-line arguments processor.
This class contains options that only make sense
for the command line interface.
Field Summary |
protected com.sun.tools.xjc.Driver.Mode |
mode
Operation mode. |
boolean |
noNS
A switch that determines the behavior in the BGM mode. |
Fields inherited from class com.sun.tools.xjc.Options |
activePlugins, automaticNameConflictResolution, classNameAllocator, classpaths, compatibilityMode, debugMode, defaultPackage, defaultPackage2, entityResolver, EXTENSION, noFileHeader, packageLevelAnnotations, pluginURIs, quiet, readOnly, runtime14, STRICT, strictCheck, target, targetDir, verbose |
Methods inherited from class com.sun.tools.xjc.Options |
addBindFile, addBindFile, addBindFileRecursive, addCatalog, addGrammar, addGrammar, addGrammarRecursive, createCodeWriter, createCodeWriter, getAllPlugins, getBindFiles, getBuildID, getFieldRendererFactory, getGrammars, getNameConverter, getPrologComment, getSchemaLanguage, getUserClassLoader, guessSchemaLanguage, isExtensionMode, parseArguments, requireArgument, scanEpisodeFile, setFieldRendererFactory, setNameConverter, setSchemaLanguage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mode
protected com.sun.tools.xjc.Driver.Mode mode
- Operation mode.
noNS
public boolean noNS
- A switch that determines the behavior in the BGM mode.
Driver.OptionsEx
Driver.OptionsEx()
parseArgument
public int parseArgument(String[] args,
int i)
throws BadCommandLineException
- Parse XJC-specific options.
- Overrides:
parseArgument
in class Options
- Returns:
- 0 if the argument is not understood. Returning 0
will let the caller report an error.
- Throws:
BadCommandLineException
- If the callee wants to provide a custom message for an error.