Package org.apache.axis.wsdl
Class WSDL2Java
- java.lang.Object
-
- org.apache.axis.wsdl.gen.WSDL2
-
- org.apache.axis.wsdl.WSDL2Java
-
public class WSDL2Java extends WSDL2
Command line interface to the WSDL2Java utility
-
-
Field Summary
Fields Modifier and Type Field Description protected static intALL_OPTField ALL_OPTprotected static intALLOW_INVALID_URL_OPTField ALLOW_INVALID_URL_OPTprotected booleanbPackageOptField bPackageOptprotected static intBUILDFILE_OPTField BUILDFILE_OPTprotected static intCLASSPATH_OPTprotected static intFACTORY_CLASS_OPTField FACTORY_CLASS_OPTprotected static intHELPER_CLASS_OPTField HELPER_CLASS_OPTprotected static intIMPL_CLASS_OPTField IMPL_CLASS_OPTprotected static intNAMESPACE_FILE_OPTField NAMESPACE_FILE_OPTprotected static intNAMESPACE_OPTField NAMESPACE_OPTprotected static intNS_EXCLUDE_OPTFiled namespace excludeprotected static intNS_INCLUDE_OPTField namespace includeprotected static CLOptionDescriptor[]optionsDefine the understood options.protected static intOUTPUT_OPTField OUTPUT_OPTprotected static intPACKAGE_OPTField PACKAGE_OPTprotected static intPASSWORD_OPTField PASSWORD_OPTprotected static intSCOPE_OPTField SCOPE_OPTprotected static intSERVER_OPTField SERVER_OPTprotected static intSKELETON_DEPLOY_OPTField SKELETON_DEPLOY_OPTprotected static intTEST_OPTField TEST_OPTprotected static intTYPEMAPPING_OPTField TYPEMAPPING_OPTprotected static intUSERNAME_OPTField USERNAME_OPTprotected static intWRAP_ARRAYS_OPTWrap arrays option-
Fields 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 Modifier Constructor Description protectedWSDL2Java()Instantiate a WSDL2Java emitter.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ParsercreateParser()Instantiate an extension of the Parserstatic voidmain(java.lang.String[] args)Main Run the WSDL2Java emitter with the specified command-line argumentsprotected voidparseOption(CLOption option)Parse an optionprotected voidvalidateOptions()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 Detail
-
SERVER_OPT
protected static final int SERVER_OPT
Field SERVER_OPT- See Also:
- Constant Field Values
-
SKELETON_DEPLOY_OPT
protected static final int SKELETON_DEPLOY_OPT
Field SKELETON_DEPLOY_OPT- See Also:
- Constant Field Values
-
NAMESPACE_OPT
protected static final int NAMESPACE_OPT
Field NAMESPACE_OPT- See Also:
- Constant Field Values
-
NAMESPACE_FILE_OPT
protected static final int NAMESPACE_FILE_OPT
Field NAMESPACE_FILE_OPT- See Also:
- Constant Field Values
-
OUTPUT_OPT
protected static final int OUTPUT_OPT
Field OUTPUT_OPT- See Also:
- Constant Field Values
-
SCOPE_OPT
protected static final int SCOPE_OPT
Field SCOPE_OPT- See Also:
- Constant Field Values
-
TEST_OPT
protected static final int TEST_OPT
Field TEST_OPT- See Also:
- Constant Field Values
-
BUILDFILE_OPT
protected static final int BUILDFILE_OPT
Field BUILDFILE_OPT- See Also:
- Constant Field Values
-
PACKAGE_OPT
protected static final int PACKAGE_OPT
Field PACKAGE_OPT- See Also:
- Constant Field Values
-
ALL_OPT
protected static final int ALL_OPT
Field ALL_OPT- See Also:
- Constant Field Values
-
TYPEMAPPING_OPT
protected static final int TYPEMAPPING_OPT
Field TYPEMAPPING_OPT- See Also:
- Constant Field Values
-
FACTORY_CLASS_OPT
protected static final int FACTORY_CLASS_OPT
Field FACTORY_CLASS_OPT- See Also:
- Constant Field Values
-
HELPER_CLASS_OPT
protected static final int HELPER_CLASS_OPT
Field HELPER_CLASS_OPT- See Also:
- Constant Field Values
-
USERNAME_OPT
protected static final int USERNAME_OPT
Field USERNAME_OPT- See Also:
- Constant Field Values
-
PASSWORD_OPT
protected static final int PASSWORD_OPT
Field PASSWORD_OPT- See Also:
- Constant Field Values
-
CLASSPATH_OPT
protected static final int CLASSPATH_OPT
- See Also:
- Constant Field Values
-
bPackageOpt
protected boolean bPackageOpt
Field bPackageOpt
-
NS_INCLUDE_OPT
protected static final int NS_INCLUDE_OPT
Field namespace include- See Also:
- Constant Field Values
-
NS_EXCLUDE_OPT
protected static final int NS_EXCLUDE_OPT
Filed namespace exclude- See Also:
- Constant Field Values
-
IMPL_CLASS_OPT
protected static final int IMPL_CLASS_OPT
Field IMPL_CLASS_OPT- See Also:
- Constant Field Values
-
ALLOW_INVALID_URL_OPT
protected static final int ALLOW_INVALID_URL_OPT
Field ALLOW_INVALID_URL_OPT- See Also:
- Constant Field Values
-
WRAP_ARRAYS_OPT
protected static final int WRAP_ARRAYS_OPT
Wrap arrays option- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
createParser
protected Parser createParser()
Instantiate an extension of the Parser- Overrides:
createParserin classWSDL2- Returns:
-
parseOption
protected void parseOption(CLOption option)
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
public static void main(java.lang.String[] args)
Main Run the WSDL2Java emitter with the specified command-line arguments- Parameters:
args- command-line arguments
-
-