Package org.apache.axis.wsdl.gen
Class WSDL2
java.lang.Object
org.apache.axis.wsdl.gen.WSDL2
- Direct Known Subclasses:
WSDL2Java
Class WSDL2
- Version:
- %I%, %G%
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int
Field DEBUG_OPTprotected static final int
Field HELP_OPTprotected static final int
Field NETWORK_TIMEOUT_OPTprotected static final int
Field NOIMPORTS_OPTprotected static final int
Field NOWRAP_OPTprotected CLOptionDescriptor[]
Field optionsprotected Parser
Field parserprotected static final int
Filed quietprotected static final int
Field VERBOSE_OPTprotected String
Field wsdlURI -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
WSDL2()
Constructor Used by extended classes to construct an instance of WSDL2 -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addOptions
(CLOptionDescriptor[] newOptions) addOptions Add option descriptions to the tool.protected Parser
createParser Used by extended classes to construct an instance of the Parserprotected Parser
getParser get the Parser objectstatic void
Main Run the tool with the specified command-line argumentsprotected void
parseOption
(CLOption option) Parse an optionprotected void
printUsage print usage information and quit.protected void
removeOption
(String name) removeOption Remove an option description from the tool.protected void
run checkes the command-line arguments and runs the tool.protected void
validateOptions This method is invoked after the options are set to validate and default the options the option settings.
-
Field Details
-
DEBUG_OPT
protected static final int DEBUG_OPTField DEBUG_OPT- See Also:
-
HELP_OPT
protected static final int HELP_OPTField HELP_OPT- See Also:
-
NETWORK_TIMEOUT_OPT
protected static final int NETWORK_TIMEOUT_OPTField NETWORK_TIMEOUT_OPT- See Also:
-
NOIMPORTS_OPT
protected static final int NOIMPORTS_OPTField NOIMPORTS_OPT- See Also:
-
VERBOSE_OPT
protected static final int VERBOSE_OPTField VERBOSE_OPT- See Also:
-
NOWRAP_OPT
protected static final int NOWRAP_OPTField NOWRAP_OPT- See Also:
-
QUIET_OPT
protected static final int QUIET_OPTFiled quiet- See Also:
-
options
Field options -
wsdlURI
Field wsdlURI -
parser
Field parser
-
-
Constructor Details
-
WSDL2
protected WSDL2()Constructor Used by extended classes to construct an instance of WSDL2
-
-
Method Details
-
createParser
createParser Used by extended classes to construct an instance of the Parser- Returns:
-
getParser
getParser get the Parser object- Returns:
-
addOptions
addOptions Add option descriptions to the tool.- Parameters:
newOptions
- CLOptionDescriptor[] the options
-
removeOption
removeOption Remove an option description from the tool.- Parameters:
name
- the name of the CLOptionDescriptor to remove
-
parseOption
Parse an option- Parameters:
option
- CLOption is the option
-
validateOptions
protected void validateOptions()validateOptions This method is invoked after the options are set to validate and default the options the option settings. -
printUsage
protected void printUsage()printUsage print usage information and quit. -
run
run checkes the command-line arguments and runs the tool.- Parameters:
args
- String[] command-line arguments.
-
main
Main Run the tool with the specified command-line arguments- Parameters:
args
- String[] command-line arguments
-