org.apache.axis.wsdl.gen

Class WSDL2

public class WSDL2 extends Object

Class WSDL2

Version: %I%, %G%

Field Summary
protected static intDEBUG_OPT
Field DEBUG_OPT
protected static intHELP_OPT
Field HELP_OPT
protected static intNETWORK_TIMEOUT_OPT
Field NETWORK_TIMEOUT_OPT
protected static intNOIMPORTS_OPT
Field NOIMPORTS_OPT
protected static intNOWRAP_OPT
Field NOWRAP_OPT
protected CLOptionDescriptor[]options
Field options
protected Parserparser
Field parser
protected static intQUIET_OPT
Filed quiet
protected static intVERBOSE_OPT
Field VERBOSE_OPT
protected StringwsdlURI
Field wsdlURI
Constructor Summary
protected WSDL2()
Constructor Used by extended classes to construct an instance of WSDL2
Method Summary
protected voidaddOptions(CLOptionDescriptor[] newOptions)
addOptions Add option descriptions to the tool.
protected ParsercreateParser()
createParser Used by extended classes to construct an instance of the Parser
protected ParsergetParser()
getParser get the Parser object
static voidmain(String[] args)
Main Run the tool with the specified command-line arguments
protected voidparseOption(CLOption option)
Parse an option
protected voidprintUsage()
printUsage print usage information and quit.
protected voidremoveOption(String name)
removeOption Remove an option description from the tool.
protected voidrun(String[] args)
run checkes the command-line arguments and runs the tool.
protected voidvalidateOptions()
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

HELP_OPT

protected static final int HELP_OPT
Field HELP_OPT

NETWORK_TIMEOUT_OPT

protected static final int NETWORK_TIMEOUT_OPT
Field NETWORK_TIMEOUT_OPT

NOIMPORTS_OPT

protected static final int NOIMPORTS_OPT
Field NOIMPORTS_OPT

NOWRAP_OPT

protected static final int NOWRAP_OPT
Field NOWRAP_OPT

options

protected CLOptionDescriptor[] options
Field options

parser

protected Parser parser
Field parser

QUIET_OPT

protected static final int QUIET_OPT
Filed quiet

VERBOSE_OPT

protected static final int VERBOSE_OPT
Field VERBOSE_OPT

wsdlURI

protected String wsdlURI
Field wsdlURI

Constructor Detail

WSDL2

protected WSDL2()
Constructor Used by extended classes to construct an instance of WSDL2

Method Detail

addOptions

protected void addOptions(CLOptionDescriptor[] newOptions)
addOptions Add option descriptions to the tool.

Parameters: newOptions CLOptionDescriptor[] the options

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:

main

public static void main(String[] args)
Main Run the tool with the specified command-line arguments

Parameters: args String[] command-line arguments

parseOption

protected void parseOption(CLOption option)
Parse an option

Parameters: option CLOption is the option

printUsage

protected void printUsage()
printUsage print usage information and quit.

removeOption

protected void removeOption(String name)
removeOption Remove an option description from the tool.

Parameters: name the name of the CLOptionDescriptor to remove

run

protected void run(String[] args)
run checkes the command-line arguments and runs the tool.

Parameters: args String[] command-line arguments.

validateOptions

protected void validateOptions()
validateOptions This method is invoked after the options are set to validate and default the options the option settings.
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.