org.apache.axis.wsdl

Class WSDL2Java


public class WSDL2Java
extends WSDL2

Command line interface to the WSDL2Java utility

Field Summary

protected static int
ALLOW_INVALID_URL_OPT
Field ALLOW_INVALID_URL_OPT
protected static int
ALL_OPT
Field ALL_OPT
protected static int
BUILDFILE_OPT
Field BUILDFILE_OPT
protected static int
CLASSPATH_OPT
protected static int
FACTORY_CLASS_OPT
Field FACTORY_CLASS_OPT
protected static int
HELPER_CLASS_OPT
Field HELPER_CLASS_OPT
protected static int
IMPL_CLASS_OPT
Field IMPL_CLASS_OPT
protected static int
NAMESPACE_FILE_OPT
Field NAMESPACE_FILE_OPT
protected static int
NAMESPACE_OPT
Field NAMESPACE_OPT
protected static int
NS_EXCLUDE_OPT
Filed namespace exclude
protected static int
NS_INCLUDE_OPT
Field namespace include
protected static int
OUTPUT_OPT
Field OUTPUT_OPT
protected static int
PACKAGE_OPT
Field PACKAGE_OPT
protected static int
PASSWORD_OPT
Field PASSWORD_OPT
protected static int
SCOPE_OPT
Field SCOPE_OPT
protected static int
SERVER_OPT
Field SERVER_OPT
protected static int
SKELETON_DEPLOY_OPT
Field SKELETON_DEPLOY_OPT
protected static int
TEST_OPT
Field TEST_OPT
protected static int
TYPEMAPPING_OPT
Field TYPEMAPPING_OPT
protected static int
USERNAME_OPT
Field USERNAME_OPT
protected static int
WRAP_ARRAYS_OPT
Wrap arrays option
protected boolean
bPackageOpt
Field bPackageOpt
protected static CLOptionDescriptor[]
options
Define the understood options.

Fields inherited from class org.apache.axis.wsdl.gen.WSDL2

DEBUG_OPT, HELP_OPT, NETWORK_TIMEOUT_OPT, NOIMPORTS_OPT, NOWRAP_OPT, QUIET_OPT, VERBOSE_OPT, options, parser, wsdlURI

Constructor Summary

WSDL2Java()
Instantiate a WSDL2Java emitter.

Method Summary

protected Parser
createParser()
Instantiate an extension of the Parser
static void
main(args[] )
Main Run the WSDL2Java emitter with the specified command-line arguments
protected void
parseOption(CLOption option)
Parse an option
protected void
validateOptions()
validateOptions This method is invoked after the options are set to validate the option settings.

Methods inherited from class org.apache.axis.wsdl.gen.WSDL2

addOptions, createParser, getParser, main, parseOption, printUsage, removeOption, run, validateOptions

Field Details

ALLOW_INVALID_URL_OPT

protected static final int ALLOW_INVALID_URL_OPT
Field ALLOW_INVALID_URL_OPT
Field Value:
117

ALL_OPT

protected static final int ALL_OPT
Field ALL_OPT
Field Value:
97

BUILDFILE_OPT

protected static final int BUILDFILE_OPT
Field BUILDFILE_OPT
Field Value:
66

CLASSPATH_OPT

protected static final int CLASSPATH_OPT
Field Value:
88

FACTORY_CLASS_OPT

protected static final int FACTORY_CLASS_OPT
Field FACTORY_CLASS_OPT
Field Value:
70

HELPER_CLASS_OPT

protected static final int HELPER_CLASS_OPT
Field HELPER_CLASS_OPT
Field Value:
72

IMPL_CLASS_OPT

protected static final int IMPL_CLASS_OPT
Field IMPL_CLASS_OPT
Field Value:
99

NAMESPACE_FILE_OPT

protected static final int NAMESPACE_FILE_OPT
Field NAMESPACE_FILE_OPT
Field Value:
102

NAMESPACE_OPT

protected static final int NAMESPACE_OPT
Field NAMESPACE_OPT
Field Value:
78

NS_EXCLUDE_OPT

protected static final int NS_EXCLUDE_OPT
Filed namespace exclude
Field Value:
120

NS_INCLUDE_OPT

protected static final int NS_INCLUDE_OPT
Field namespace include
Field Value:
105

OUTPUT_OPT

protected static final int OUTPUT_OPT
Field OUTPUT_OPT
Field Value:
111

PACKAGE_OPT

protected static final int PACKAGE_OPT
Field PACKAGE_OPT
Field Value:
112

PASSWORD_OPT

protected static final int PASSWORD_OPT
Field PASSWORD_OPT
Field Value:
80

SCOPE_OPT

protected static final int SCOPE_OPT
Field SCOPE_OPT
Field Value:
100

SERVER_OPT

protected static final int SERVER_OPT
Field SERVER_OPT
Field Value:
115

SKELETON_DEPLOY_OPT

protected static final int SKELETON_DEPLOY_OPT
Field SKELETON_DEPLOY_OPT
Field Value:
83

TEST_OPT

protected static final int TEST_OPT
Field TEST_OPT
Field Value:
116

TYPEMAPPING_OPT

protected static final int TYPEMAPPING_OPT
Field TYPEMAPPING_OPT
Field Value:
84

USERNAME_OPT

protected static final int USERNAME_OPT
Field USERNAME_OPT
Field Value:
85

WRAP_ARRAYS_OPT

protected static final int WRAP_ARRAYS_OPT
Wrap arrays option
Field Value:
119

bPackageOpt

protected boolean bPackageOpt
Field bPackageOpt

options

protected static final CLOptionDescriptor[] options
Define the understood options. Each CLOptionDescriptor contains: - The "long" version of the option. Eg, "help" means that "--help" will be recognised. - The option flags, governing the option's argument(s). - The "short" version of the option. Eg, 'h' means that "-h" will be recognised. - A description of the option for the usage message

Constructor Details

WSDL2Java

protected WSDL2Java()
Instantiate a WSDL2Java emitter.

Method Details

createParser

protected Parser createParser()
Instantiate an extension of the Parser
Overrides:
createParser in interface WSDL2
Returns:

main

public static void main(args[] )
Main Run the WSDL2Java emitter with the specified command-line arguments
Parameters:

parseOption

protected void parseOption(CLOption option)
Parse an option
Overrides:
parseOption in interface WSDL2
Parameters:
option - is the option

validateOptions

protected void validateOptions()
validateOptions This method is invoked after the options are set to validate the option settings.
Overrides:
validateOptions in interface WSDL2

Copyright © 2005 Apache Web Services Project. All Rights Reserved.