org.apache.axis.wsdl.gen

Class WSDL2

Known Direct Subclasses:
WSDL2Java

public class WSDL2
extends java.lang.Object

Class WSDL2
Version:
%I%, %G%

Field Summary

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 static int
QUIET_OPT
Filed quiet
protected static int
VERBOSE_OPT
Field VERBOSE_OPT
protected CLOptionDescriptor[]
options
Field options
protected Parser
parser
Field parser
protected String
wsdlURI
Field wsdlURI

Constructor Summary

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

Method Summary

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.

Field Details

DEBUG_OPT

protected static final int DEBUG_OPT
Field DEBUG_OPT
Field Value:
68

HELP_OPT

protected static final int HELP_OPT
Field HELP_OPT
Field Value:
104

NETWORK_TIMEOUT_OPT

protected static final int NETWORK_TIMEOUT_OPT
Field NETWORK_TIMEOUT_OPT
Field Value:
79

NOIMPORTS_OPT

protected static final int NOIMPORTS_OPT
Field NOIMPORTS_OPT
Field Value:
110

NOWRAP_OPT

protected static final int NOWRAP_OPT
Field NOWRAP_OPT
Field Value:
87

QUIET_OPT

protected static final int QUIET_OPT
Filed quiet
Field Value:
113

VERBOSE_OPT

protected static final int VERBOSE_OPT
Field VERBOSE_OPT
Field Value:
118

options

protected CLOptionDescriptor[] options
Field options

parser

protected Parser parser
Field parser

wsdlURI

protected String wsdlURI
Field wsdlURI

Constructor Details

WSDL2

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

Method Details

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.