|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.custom.CustomizationCommandLineBase
org.jibx.custom.classes.ClassCustomizationBase
org.jibx.schema.generator.SchemaGenCommandLine
org.jibx.binding.generator.BindGenCommandLine
public class BindGenCommandLine
Command line processing specifically for the BindGen class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jibx.custom.CustomizationCommandLineBase |
|---|
CustomizationCommandLineBase.ArgList |
| Field Summary | |
|---|---|
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. |
| Fields inherited from class org.jibx.custom.CustomizationCommandLineBase |
|---|
STRING_PARAMETER_ARRAY, STRING_UNMARSHALLER_PARAMETER_ARRAY |
| Constructor Summary | |
|---|---|
BindGenCommandLine()
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jibx.schema.generator.SchemaGenCommandLine |
|---|
getLocator, getUriNames, setLocator |
| Methods inherited from class org.jibx.custom.classes.ClassCustomizationBase |
|---|
finishParameters, loadCustomizations, verboseDetails |
| Methods inherited from class org.jibx.custom.CustomizationCommandLineBase |
|---|
applyKeyValueMap, getExtraArgs, getGeneratePath, getUsageLines, isVerbose, mergeUsageLines, processArgs, putKeyValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public BindGenCommandLine()
| Method Detail |
|---|
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 list
true if parameter processed, false if unknown
protected void loadCustomizations(java.lang.String path,
IClassLocator loc,
ValidationContext vctx)
throws JiBXException,
java.io.IOException
ClassCustomizationBase
loadCustomizations in class SchemaGenCommandLinepath - customizations file path, null if noneloc - class locatorvctx - validation context
JiBXException
java.io.IOExceptionprotected java.util.Map applyOverrides(java.util.Map overmap)
CustomizationCommandLineBase
applyOverrides in class SchemaGenCommandLineovermap - override key-value map
public void printUsage()
CustomizationCommandLineBase
printUsage in class SchemaGenCommandLine
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||