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 intField DEBUG_OPTprotected static final intField HELP_OPTprotected static final intField NETWORK_TIMEOUT_OPTprotected static final intField NOIMPORTS_OPTprotected static final intField NOWRAP_OPTprotected CLOptionDescriptor[]Field optionsprotected ParserField parserprotected static final intFiled quietprotected static final intField VERBOSE_OPTprotected StringField wsdlURI -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWSDL2()Constructor Used by extended classes to construct an instance of WSDL2 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddOptions(CLOptionDescriptor[] newOptions) addOptions Add option descriptions to the tool.protected ParsercreateParser Used by extended classes to construct an instance of the Parserprotected ParsergetParser get the Parser objectstatic voidMain Run the tool with the specified command-line argumentsprotected voidparseOption(CLOption option) Parse an optionprotected voidprintUsage print usage information and quit.protected voidremoveOption(String name) removeOption Remove an option description from the tool.protected voidrun checkes the command-line arguments and runs the tool.protected voidvalidateOptions 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
-