Modifier and Type | Field and Description |
---|---|
protected static int |
DEBUG_OPT
Field DEBUG_OPT
|
protected static int |
HELP_OPT
Field HELP_OPT
|
protected static int |
NETWORK_TIMEOUT_OPT
Field NETWORK_TIMEOUT_OPT
|
protected static int |
NOIMPORTS_OPT
Field NOIMPORTS_OPT
|
protected static int |
NOWRAP_OPT
Field NOWRAP_OPT
|
protected CLOptionDescriptor[] |
options
Field options
|
protected Parser |
parser
Field parser
|
protected static int |
QUIET_OPT
Filed quiet
|
protected static int |
VERBOSE_OPT
Field VERBOSE_OPT
|
protected String |
wsdlURI
Field wsdlURI
|
Modifier | Constructor and Description |
---|---|
protected |
WSDL2()
Constructor
Used by extended classes to construct an instance of WSDL2
|
Modifier and Type | Method and Description |
---|---|
protected void |
addOptions(CLOptionDescriptor[] newOptions)
addOptions
Add option descriptions to the tool.
|
protected Parser |
createParser()
createParser
Used by extended classes to construct an instance of the Parser
|
protected Parser |
getParser()
getParser
get the Parser object
|
static void |
main(String[] args)
Main
Run the tool with the specified command-line arguments
|
protected void |
parseOption(CLOption option)
Parse an option
|
protected void |
printUsage()
printUsage
print usage information and quit.
|
protected void |
removeOption(String name)
removeOption
Remove an option description from the tool.
|
protected void |
run(String[] args)
run
checkes the command-line arguments and runs the tool.
|
protected void |
validateOptions()
validateOptions
This method is invoked after the options are set to validate and default the options
the option settings.
|
protected static final int DEBUG_OPT
protected static final int HELP_OPT
protected static final int NETWORK_TIMEOUT_OPT
protected static final int NOIMPORTS_OPT
protected static final int VERBOSE_OPT
protected static final int NOWRAP_OPT
protected static final int QUIET_OPT
protected CLOptionDescriptor[] options
protected String wsdlURI
protected Parser parser
protected WSDL2()
protected Parser createParser()
protected Parser getParser()
protected void addOptions(CLOptionDescriptor[] newOptions)
newOptions
- CLOptionDescriptor[] the optionsprotected void removeOption(String name)
name
- the name of the CLOptionDescriptor to removeprotected void parseOption(CLOption option)
option
- CLOption is the optionprotected void validateOptions()
protected void printUsage()
protected void run(String[] args)
args
- String[] command-line arguments.public static void main(String[] args)
args
- String[] command-line argumentsCopyright © The Apache Software Foundation. All Rights Reserved.