BindGenCommandLine, WsdlGeneratorCommandLinepublic class SchemaGenCommandLine extends ClassCustomizationBase
SchemaGen class.
TODO: Split this into abstract base class which the existing subclasdses can extend directly, plus separate subclassCustomizationCommandLineBase.ArgList| Modifier and Type | Field | Description |
|---|---|---|
private static java.lang.String[] |
EXTRA_USAGE_LINES |
Ordered array of extra usage lines.
|
private GlobalCustom |
m_global |
Customizations model root.
|
private IClassLocator |
m_locator |
Class locator used to complete customizations.
|
private java.util.Map |
m_uriNames |
Namespace URI to file name map.
|
STRING_PARAMETER_ARRAY, STRING_UNMARSHALLER_PARAMETER_ARRAY| Modifier | Constructor | Description |
|---|---|---|
|
SchemaGenCommandLine() |
Constructor for when class is used directly.
|
protected |
SchemaGenCommandLine(java.lang.String[] lines) |
Constructor used by subclasses.
|
| Modifier and Type | Method | Description |
|---|---|---|
private boolean |
addUriNamePair(java.lang.String text) |
Add uri=name pair to map.
|
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.
|
GlobalCustom |
getGlobal() |
Get customizations model root.
|
IClassLocator |
getLocator() |
Get class locator.
|
java.util.Map |
getUriNames() |
Get schema namespace URI to name map.
|
protected void |
loadCustomizations(java.lang.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, putKeyValueprivate static final java.lang.String[] EXTRA_USAGE_LINES
private GlobalCustom m_global
private java.util.Map m_uriNames
private IClassLocator m_locator
public SchemaGenCommandLine()
protected SchemaGenCommandLine(java.lang.String[] lines)
lines - public IClassLocator getLocator()
protected void setLocator(IClassLocator locator)
locator - public GlobalCustom getGlobal()
public java.util.Map getUriNames()
private boolean addUriNamePair(java.lang.String text)
text - true if valid, false if notprotected boolean checkParameter(CustomizationCommandLineBase.ArgList alist)
ClassCustomizationBasefalse..checkParameter in class ClassCustomizationBasealist - 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 ClassCustomizationBasepath - customizations file path, null if noneloc - class locatorvctx - validation contextJiBXExceptionjava.io.IOExceptionprotected java.util.Map applyOverrides(java.util.Map overmap)
CustomizationCommandLineBaseapplyOverrides in class CustomizationCommandLineBaseovermap - override key-value mappublic void printUsage()
CustomizationCommandLineBaseprintUsage in class CustomizationCommandLineBase