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 intField ALL_OPTprotected static final intField ALLOW_INVALID_URL_OPTprotected booleanField bPackageOptprotected static final intField BUILDFILE_OPTprotected static final intprotected static final intField FACTORY_CLASS_OPTprotected static final intField HELPER_CLASS_OPTprotected static final intField IMPL_CLASS_OPTprotected static final intField NAMESPACE_FILE_OPTprotected static final intField NAMESPACE_OPTprotected static final intFiled namespace excludeprotected static final intField namespace includeprotected static final CLOptionDescriptor[]Define the understood options.protected static final intField OUTPUT_OPTprotected static final intField PACKAGE_OPTprotected static final intField PASSWORD_OPTprotected static final intField SCOPE_OPTprotected static final intField SERVER_OPTprotected static final intField SKELETON_DEPLOY_OPTprotected static final intField TEST_OPTprotected static final intField TYPEMAPPING_OPTprotected static final intField USERNAME_OPTprotected static final intWrap 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 ParserInstantiate an extension of the Parserstatic voidMain Run the WSDL2Java emitter with the specified command-line argumentsprotected voidparseOption(CLOption option) Parse an optionprotected voidvalidateOptions 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:
createParserin classWSDL2- Returns:
-
parseOption
Parse an option- Overrides:
parseOptionin 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:
validateOptionsin classWSDL2
-
main
Main Run the WSDL2Java emitter with the specified command-line arguments- Parameters:
args- command-line arguments
-