public class SchemaGenCommandLine extends ClassCustomizationBase
SchemaGen class.
TODO: Split this into abstract base class which the existing subclasdses can extend directly, plus separate subclassCustomizationCommandLineBase.ArgListSTRING_PARAMETER_ARRAY, STRING_UNMARSHALLER_PARAMETER_ARRAY| Modifier | Constructor and Description |
|---|---|
|
SchemaGenCommandLine()
Constructor for when class is used directly.
|
protected |
SchemaGenCommandLine(String[] lines)
Constructor used by subclasses.
|
| 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 if an extension parameter is recognized.
|
GlobalCustom |
getGlobal()
Get customizations model root.
|
IClassLocator |
getLocator()
Get class locator.
|
Map |
getUriNames()
Get schema namespace URI to name map.
|
protected void |
loadCustomizations(String path,
IClassLocator loc,
ValidationContext vctx)
Load the customizations file.
|
void |
printUsage()
Print usage information.
|
protected void |
setLocator(IClassLocator locator)
Set class locator.
|
finishParameters, loadCustomizations, splitItems, verboseDetailsgetExtraArgs, getGeneratePath, getUsageLines, isVerbose, mergeUsageLines, processArgs, putKeyValuepublic SchemaGenCommandLine()
protected SchemaGenCommandLine(String[] lines)
lines - public IClassLocator getLocator()
protected void setLocator(IClassLocator locator)
locator - public GlobalCustom getGlobal()
public Map getUriNames()
protected boolean checkParameter(CustomizationCommandLineBase.ArgList alist)
ClassCustomizationBasefalse..checkParameter in class ClassCustomizationBasealist - argument listtrue if parameter processed, false if unknownprotected void loadCustomizations(String path, IClassLocator loc, ValidationContext vctx) throws JiBXException, IOException
ClassCustomizationBaseloadCustomizations in class ClassCustomizationBasepath - customizations file path, null if noneloc - class locatorvctx - validation contextJiBXExceptionIOExceptionprotected 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.