public abstract class SchemaCommandLineBase extends CustomizationCommandLineBase
CustomizationCommandLineBase.ArgListSTRING_PARAMETER_ARRAY, STRING_UNMARSHALLER_PARAMETER_ARRAY| Constructor and Description |
|---|
SchemaCommandLineBase()
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.
|
SchemasetCustom |
getCustomRoot()
Get customizations model root.
|
File |
getSchemaDir()
Get root directory for schemas.
|
URL |
getSchemaRoot()
Get root URL for schemas.
|
protected boolean |
loadCustomizations(String path)
Load the customizations file.
|
protected void |
verboseDetails()
Print any extension details.
|
getExtraArgs, getGeneratePath, getUsageLines, isVerbose, mergeUsageLines, printUsage, processArgs, putKeyValuepublic URL getSchemaRoot()
public File getSchemaDir()
null if root is not a directory)public SchemasetCustom getCustomRoot()
protected boolean checkParameter(CustomizationCommandLineBase.ArgList alist)
CustomizationCommandLineBasecheckParameter in class CustomizationCommandLineBasealist - argument listtrue if parameter processed, false if unknownprotected void verboseDetails()
CustomizationCommandLineBaseverboseDetails in class CustomizationCommandLineBaseprotected 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 mapCopyright © 2005-2014 jibx.org. All Rights Reserved.