public class WsdlGeneratorCommandLine extends SchemaGenCommandLine
Jibx2Wsdl class.CustomizationCommandLineBase.ArgList| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String[] |
EXTRA_USAGE_LINES
Ordered array of extra usage lines.
|
private java.lang.String |
m_bindingName
Name used for root binding.
|
private boolean |
m_docLit
Pure doc/lit (not wrapped) flag.
|
private java.util.List |
m_extraTypes
List of extra classes for binding.
|
private GlobalCustom |
m_global
Global customizations model root.
|
private java.util.List |
m_useBindings
List of existing bindings for messages.
|
private java.util.List |
m_useSchemas
List of existing schemas for messages.
|
private WsdlCustom |
m_wsdlCustom
WSDL customizations model root.
|
STRING_PARAMETER_ARRAY, STRING_UNMARSHALLER_PARAMETER_ARRAY| Constructor and Description |
|---|
WsdlGeneratorCommandLine()
Constructor.
|
| Modifier and Type | Method and 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 if an extension parameter is recognized.
|
java.lang.String |
getBindingName()
Get binding name.
|
java.util.List |
getExtraTypes()
Get extra classes to be included in binding.
|
GlobalCustom |
getGlobal()
Get customizations model root.
|
java.util.List |
getUseBindings()
Get existing bindings to be used for message components.
|
java.util.List |
getUseSchemas()
Get existing schemas to be used for message components.
|
WsdlCustom |
getWsdlCustom()
Get WSDL customizations model root.
|
boolean |
isDocLit()
Check if using pure doc/lit (not wrapped) style.
|
protected void |
loadCustomizations(java.lang.String path,
IClassLocator loc,
ValidationContext vctx)
Load the customizations file.
|
void |
printUsage()
Print usage information.
|
getLocator, getUriNames, setLocatorfinishParameters, loadCustomizations, splitItems, verboseDetailsgetExtraArgs, getGeneratePath, getUsageLines, isVerbose, mergeUsageLines, processArgs, putKeyValueprivate static final java.lang.String[] EXTRA_USAGE_LINES
private GlobalCustom m_global
private WsdlCustom m_wsdlCustom
private java.util.List m_extraTypes
private java.util.List m_useBindings
private java.util.List m_useSchemas
private java.lang.String m_bindingName
private boolean m_docLit
public GlobalCustom getGlobal()
getGlobal in class SchemaGenCommandLinepublic WsdlCustom getWsdlCustom()
public java.lang.String getBindingName()
public java.util.List getExtraTypes()
public java.util.List getUseBindings()
public java.util.List getUseSchemas()
public boolean isDocLit()
true if doc/lit, false if notprotected boolean checkParameter(CustomizationCommandLineBase.ArgList alist)
ClassCustomizationBasefalse..checkParameter in class SchemaGenCommandLinealist - 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 SchemaGenCommandLinepath - customizations file path, null if noneloc - class locatorvctx - validation contextJiBXExceptionjava.io.IOExceptionprotected java.util.Map applyOverrides(java.util.Map overmap)
CustomizationCommandLineBaseapplyOverrides in class SchemaGenCommandLineovermap - override key-value mappublic void printUsage()
CustomizationCommandLineBaseprintUsage in class SchemaGenCommandLine