Package org.apache.axis.wsdl.gen
Class WSDL2
- java.lang.Object
-
- org.apache.axis.wsdl.gen.WSDL2
-
- Direct Known Subclasses:
WSDL2Java
public class WSDL2 extends java.lang.Object
Class WSDL2- Version:
- %I%, %G%
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
DEBUG_OPT
Field DEBUG_OPTprotected static int
HELP_OPT
Field HELP_OPTprotected static int
NETWORK_TIMEOUT_OPT
Field NETWORK_TIMEOUT_OPTprotected static int
NOIMPORTS_OPT
Field NOIMPORTS_OPTprotected static int
NOWRAP_OPT
Field NOWRAP_OPTprotected CLOptionDescriptor[]
options
Field optionsprotected Parser
parser
Field parserprotected static int
QUIET_OPT
Filed quietprotected static int
VERBOSE_OPT
Field VERBOSE_OPTprotected java.lang.String
wsdlURI
Field wsdlURI
-
Constructor Summary
Constructors Modifier Constructor Description protected
WSDL2()
Constructor Used by extended classes to construct an instance of WSDL2
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 Parserprotected Parser
getParser()
getParser get the Parser objectstatic void
main(java.lang.String[] args)
Main Run the tool with the specified command-line argumentsprotected void
parseOption(CLOption option)
Parse an optionprotected void
printUsage()
printUsage print usage information and quit.protected void
removeOption(java.lang.String name)
removeOption Remove an option description from the tool.protected void
run(java.lang.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.
-
-
-
Field Detail
-
DEBUG_OPT
protected static final int DEBUG_OPT
Field DEBUG_OPT- See Also:
- Constant Field Values
-
HELP_OPT
protected static final int HELP_OPT
Field HELP_OPT- See Also:
- Constant Field Values
-
NETWORK_TIMEOUT_OPT
protected static final int NETWORK_TIMEOUT_OPT
Field NETWORK_TIMEOUT_OPT- See Also:
- Constant Field Values
-
NOIMPORTS_OPT
protected static final int NOIMPORTS_OPT
Field NOIMPORTS_OPT- See Also:
- Constant Field Values
-
VERBOSE_OPT
protected static final int VERBOSE_OPT
Field VERBOSE_OPT- See Also:
- Constant Field Values
-
NOWRAP_OPT
protected static final int NOWRAP_OPT
Field NOWRAP_OPT- See Also:
- Constant Field Values
-
QUIET_OPT
protected static final int QUIET_OPT
Filed quiet- See Also:
- Constant Field Values
-
options
protected CLOptionDescriptor[] options
Field options
-
wsdlURI
protected java.lang.String wsdlURI
Field wsdlURI
-
parser
protected Parser parser
Field parser
-
-
Method Detail
-
createParser
protected Parser createParser()
createParser Used by extended classes to construct an instance of the Parser- Returns:
-
getParser
protected Parser getParser()
getParser get the Parser object- Returns:
-
addOptions
protected void addOptions(CLOptionDescriptor[] newOptions)
addOptions Add option descriptions to the tool.- Parameters:
newOptions
- CLOptionDescriptor[] the options
-
removeOption
protected void removeOption(java.lang.String name)
removeOption Remove an option description from the tool.- Parameters:
name
- the name of the CLOptionDescriptor to remove
-
parseOption
protected void parseOption(CLOption option)
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
protected void run(java.lang.String[] args)
run checkes the command-line arguments and runs the tool.- Parameters:
args
- String[] command-line arguments.
-
main
public static void main(java.lang.String[] args)
Main Run the tool with the specified command-line arguments- Parameters:
args
- String[] command-line arguments
-
-