public class BindGenCommandLine extends SchemaGenCommandLine
BindGen
class.CustomizationCommandLineBase.ArgList
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
EXTRA_USAGE_LINES
Ordered array of extra usage lines.
|
private java.lang.Boolean |
m_abstract
TRUE if abstract mappings forced, FALSE if concrete mappings forced,
null if left to class settings. |
private java.lang.String |
m_bindingName
Name used for root binding.
|
private boolean |
m_bindingOnly
Binding generation only flag (skip schema generation).
|
private GlobalCustom |
m_global
Customizations model root.
|
STRING_PARAMETER_ARRAY, STRING_UNMARSHALLER_PARAMETER_ARRAY
Constructor and Description |
---|
BindGenCommandLine()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map |
applyOverrides(java.util.Map overmap)
Apply map of override values to customizations read from file or created as default.
|
protected boolean |
checkParameter(CustomizationCommandLineBase.ArgList alist)
Check if an extension parameter is recognized.
|
java.lang.Boolean |
getAbstract()
Get force abstract mapping setting.
|
java.lang.String |
getBindingName()
Get binding name.
|
GlobalCustom |
getGlobal()
Get customizations model root.
|
boolean |
isBindingOnly()
Check if only binding generation to be done.
|
protected void |
loadCustomizations(java.lang.String path,
IClassLocator loc,
ValidationContext vctx)
Load the customizations file.
|
void |
printUsage()
Print usage information.
|
getLocator, getUriNames, setLocator
finishParameters, loadCustomizations, splitItems, verboseDetails
getExtraArgs, getGeneratePath, getUsageLines, isVerbose, mergeUsageLines, processArgs, putKeyValue
private static final java.lang.String[] EXTRA_USAGE_LINES
private java.lang.Boolean m_abstract
TRUE
if abstract mappings forced, FALSE
if concrete mappings forced,
null
if left to class settings.private GlobalCustom m_global
private java.lang.String m_bindingName
private boolean m_bindingOnly
public java.lang.Boolean getAbstract()
TRUE
if abstract mappings forced, FALSE
if concrete mappings forced,
null
if left to class settingspublic GlobalCustom getGlobal()
getGlobal
in class SchemaGenCommandLine
public java.lang.String getBindingName()
public boolean isBindingOnly()
true
if only binding generation, false
if both binding and schemaprotected boolean checkParameter(CustomizationCommandLineBase.ArgList alist)
ClassCustomizationBase
false
..checkParameter
in class SchemaGenCommandLine
alist
- argument listtrue
if parameter processed, false
if unknownprotected void loadCustomizations(java.lang.String path, IClassLocator loc, ValidationContext vctx) throws JiBXException, java.io.IOException
ClassCustomizationBase
loadCustomizations
in class SchemaGenCommandLine
path
- customizations file path, null
if noneloc
- class locatorvctx
- validation contextJiBXException
java.io.IOException
protected java.util.Map applyOverrides(java.util.Map overmap)
CustomizationCommandLineBase
applyOverrides
in class SchemaGenCommandLine
overmap
- override key-value mappublic void printUsage()
CustomizationCommandLineBase
printUsage
in class SchemaGenCommandLine