Package org.apache.axis.wsdl
Class WSDL2Java
java.lang.Object
org.apache.axis.wsdl.gen.WSDL2
org.apache.axis.wsdl.WSDL2Java
Command line interface to the WSDL2Java utility
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int
Field ALL_OPTprotected static final int
Field ALLOW_INVALID_URL_OPTprotected boolean
Field bPackageOptprotected static final int
Field BUILDFILE_OPTprotected static final int
protected static final int
Field FACTORY_CLASS_OPTprotected static final int
Field HELPER_CLASS_OPTprotected static final int
Field IMPL_CLASS_OPTprotected static final int
Field NAMESPACE_FILE_OPTprotected static final int
Field NAMESPACE_OPTprotected static final int
Filed namespace excludeprotected static final int
Field namespace includeprotected static final CLOptionDescriptor[]
Define the understood options.protected static final int
Field OUTPUT_OPTprotected static final int
Field PACKAGE_OPTprotected static final int
Field PASSWORD_OPTprotected static final int
Field SCOPE_OPTprotected static final int
Field SERVER_OPTprotected static final int
Field SKELETON_DEPLOY_OPTprotected static final int
Field TEST_OPTprotected static final int
Field TYPEMAPPING_OPTprotected static final int
Field USERNAME_OPTprotected static final int
Wrap arrays optionFields inherited from class org.apache.axis.wsdl.gen.WSDL2
DEBUG_OPT, HELP_OPT, NETWORK_TIMEOUT_OPT, NOIMPORTS_OPT, NOWRAP_OPT, parser, QUIET_OPT, VERBOSE_OPT, wsdlURI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Parser
Instantiate an extension of the Parserstatic void
Main Run the WSDL2Java emitter with the specified command-line argumentsprotected void
parseOption
(CLOption option) Parse an optionprotected void
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, getParser, printUsage, removeOption, run
-
Field Details
-
SERVER_OPT
protected static final int SERVER_OPTField SERVER_OPT- See Also:
-
SKELETON_DEPLOY_OPT
protected static final int SKELETON_DEPLOY_OPTField SKELETON_DEPLOY_OPT- See Also:
-
NAMESPACE_OPT
protected static final int NAMESPACE_OPTField NAMESPACE_OPT- See Also:
-
NAMESPACE_FILE_OPT
protected static final int NAMESPACE_FILE_OPTField NAMESPACE_FILE_OPT- See Also:
-
OUTPUT_OPT
protected static final int OUTPUT_OPTField OUTPUT_OPT- See Also:
-
SCOPE_OPT
protected static final int SCOPE_OPTField SCOPE_OPT- See Also:
-
TEST_OPT
protected static final int TEST_OPTField TEST_OPT- See Also:
-
BUILDFILE_OPT
protected static final int BUILDFILE_OPTField BUILDFILE_OPT- See Also:
-
PACKAGE_OPT
protected static final int PACKAGE_OPTField PACKAGE_OPT- See Also:
-
ALL_OPT
protected static final int ALL_OPTField ALL_OPT- See Also:
-
TYPEMAPPING_OPT
protected static final int TYPEMAPPING_OPTField TYPEMAPPING_OPT- See Also:
-
FACTORY_CLASS_OPT
protected static final int FACTORY_CLASS_OPTField FACTORY_CLASS_OPT- See Also:
-
HELPER_CLASS_OPT
protected static final int HELPER_CLASS_OPTField HELPER_CLASS_OPT- See Also:
-
USERNAME_OPT
protected static final int USERNAME_OPTField USERNAME_OPT- See Also:
-
PASSWORD_OPT
protected static final int PASSWORD_OPTField PASSWORD_OPT- See Also:
-
CLASSPATH_OPT
protected static final int CLASSPATH_OPT- See Also:
-
bPackageOpt
protected boolean bPackageOptField bPackageOpt -
NS_INCLUDE_OPT
protected static final int NS_INCLUDE_OPTField namespace include- See Also:
-
NS_EXCLUDE_OPT
protected static final int NS_EXCLUDE_OPTFiled namespace exclude- See Also:
-
IMPL_CLASS_OPT
protected static final int IMPL_CLASS_OPTField IMPL_CLASS_OPT- See Also:
-
ALLOW_INVALID_URL_OPT
protected static final int ALLOW_INVALID_URL_OPTField ALLOW_INVALID_URL_OPT- See Also:
-
WRAP_ARRAYS_OPT
protected static final int WRAP_ARRAYS_OPTWrap arrays option- See Also:
-
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
Instantiate an extension of the Parser- Overrides:
createParser
in classWSDL2
- Returns:
-
parseOption
Parse an option- Overrides:
parseOption
in classWSDL2
- 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 classWSDL2
-
main
Main Run the WSDL2Java emitter with the specified command-line arguments- Parameters:
args
- command-line arguments
-