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, setLocatorfinishParameters, loadCustomizations, splitItems, verboseDetailsgetExtraArgs, getGeneratePath, getUsageLines, isVerbose, mergeUsageLines, processArgs, putKeyValueprivate 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 SchemaGenCommandLinepublic java.lang.String getBindingName()
public boolean isBindingOnly()
true if only binding generation, false if both binding and schemaprotected boolean checkParameter(CustomizationCommandLineBase.ArgList alist)
ClassCustomizationBasefalse..checkParameter in class SchemaGenCommandLinealist - argument listtrue if parameter processed, false if unknownprotected void loadCustomizations(java.lang.String path,
IClassLocator loc,
ValidationContext vctx)
throws JiBXException,
java.io.IOException
ClassCustomizationBaseloadCustomizations in class SchemaGenCommandLinepath - customizations file path, null if noneloc - class locatorvctx - validation contextJiBXExceptionjava.io.IOExceptionprotected java.util.Map applyOverrides(java.util.Map overmap)
CustomizationCommandLineBaseapplyOverrides in class SchemaGenCommandLineovermap - override key-value mappublic void printUsage()
CustomizationCommandLineBaseprintUsage in class SchemaGenCommandLine