public class CodeGenCommandLine extends CustomizationCommandLineBase
CodeGen class.CustomizationCommandLineBase.ArgListSTRING_PARAMETER_ARRAY, STRING_UNMARSHALLER_PARAMETER_ARRAY| Constructor and Description |
|---|
CodeGenCommandLine()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map |
applyOverrides(Map overmap)
Apply map of override values to customizations read from file or created as default.
|
protected boolean |
checkParameter(CustomizationCommandLineBase.ArgList alist)
Check extension parameter.
|
protected void |
finishParameters(CustomizationCommandLineBase.ArgList alist)
Finish processing of command line parameters.
|
String |
getBindingName()
Get binding name.
|
SchemasetCustom |
getCustomRoot()
Get customizations model root.
|
File |
getDifferenceFile()
Get file to be used for finding differences in generated data model.
|
List |
getIncludePaths()
Get the list of paths for bindings to be used for matching schema definitions.
|
File |
getModelFile()
Get file to be used for dumping generated data model.
|
String |
getNonamespacePackage()
Get default package for no-namespace schemas.
|
File |
getSchemaDir()
Get root directory for schemas.
|
URL |
getSchemaRoot()
Get root URL for schemas.
|
String |
getUsingNamespace()
Get namespace to be used when no schemas with namespaces are being generated.
|
protected boolean |
loadCustomizations(String path)
Load the customizations file.
|
void |
printUsage()
Print usage information.
|
getExtraArgs, getGeneratePath, getUsageLines, isVerbose, mergeUsageLines, processArgs, putKeyValue, verboseDetailspublic URL getSchemaRoot()
public File getSchemaDir()
null if root is not a directory)public String getBindingName()
null if not set)public String getUsingNamespace()
null if unspecified)public SchemasetCustom getCustomRoot()
public String getNonamespacePackage()
null if not set)public File getModelFile()
null if none)public File getDifferenceFile()
null if none)public List getIncludePaths()
protected boolean checkParameter(CustomizationCommandLineBase.ArgList alist)
CustomizationCommandLineBasecheckParameter in class CustomizationCommandLineBasealist - argument listtrue if parameter processed, false if unknownprotected void finishParameters(CustomizationCommandLineBase.ArgList alist)
finishParameters in class CustomizationCommandLineBasealist - protected boolean loadCustomizations(String path) throws JiBXException, IOException
loadCustomizations in class CustomizationCommandLineBasepath - customization file pathtrue if successful, false if an errorJiBXExceptionIOExceptionprotected Map applyOverrides(Map overmap)
CustomizationCommandLineBaseapplyOverrides in class CustomizationCommandLineBaseovermap - override key-value mappublic void printUsage()
CustomizationCommandLineBaseprintUsage in class CustomizationCommandLineBaseCopyright © 2005-2014 jibx.org. All Rights Reserved.