RefactoryCommandLinepublic abstract class SchemaCommandLineBase extends CustomizationCommandLineBase
CustomizationCommandLineBase.ArgList| Modifier and Type | Field | Description |
|---|---|---|
private static java.lang.String[] |
EXTRA_USAGE_LINES |
Ordered array of extra usage lines.
|
private SchemasetCustom |
m_customRoot |
Customizations model root.
|
private java.lang.String |
m_rootPath |
Schema root URL path.
|
private java.io.File |
m_schemaDir |
Root directory for schemas (
null if not a file system root). |
private java.net.URL |
m_schemaRoot |
Root URL for schemas.
|
STRING_PARAMETER_ARRAY, STRING_UNMARSHALLER_PARAMETER_ARRAY| Constructor | Description |
|---|---|
SchemaCommandLineBase() |
Constructor.
|
| Modifier and Type | Method | 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 extension parameter.
|
protected void |
finishParameters(CustomizationCommandLineBase.ArgList alist) |
Finish processing of command line parameters.
|
SchemasetCustom |
getCustomRoot() |
Get customizations model root.
|
java.io.File |
getSchemaDir() |
Get root directory for schemas.
|
java.net.URL |
getSchemaRoot() |
Get root URL for schemas.
|
protected boolean |
loadCustomizations(java.lang.String path) |
Load the customizations file.
|
protected void |
verboseDetails() |
Print any extension details.
|
getExtraArgs, getGeneratePath, getUsageLines, isVerbose, mergeUsageLines, printUsage, processArgs, putKeyValueprivate static final java.lang.String[] EXTRA_USAGE_LINES
private java.lang.String m_rootPath
private java.net.URL m_schemaRoot
private java.io.File m_schemaDir
null if not a file system root).private SchemasetCustom m_customRoot
public java.net.URL getSchemaRoot()
public java.io.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(java.lang.String path)
throws JiBXException,
java.io.IOException
loadCustomizations in class CustomizationCommandLineBasepath - customization file pathtrue if successful, false if an errorJiBXExceptionjava.io.IOExceptionprotected java.util.Map applyOverrides(java.util.Map overmap)
CustomizationCommandLineBaseapplyOverrides in class CustomizationCommandLineBaseovermap - override key-value map