org.jboss.axis.wsdl
Class Java2WSDL

java.lang.Object
  extended byorg.jboss.axis.wsdl.Java2WSDL

public class Java2WSDL
extends java.lang.Object

Command line interface to the java2wsdl utility


Field Summary
protected static int BINDING_NAME_OPT
           
protected  java.lang.String className
           
protected  Emitter (src) emitter
           
protected static int EXTRA_CLASSES_OPT
           
protected static int HELP_OPT
           
protected static int IMPL_CLASS_OPT
           
protected static int IMPORT_SCHEMA_OPT
           
protected static int INHERITED_CLASS_OPT
           
protected static int INPUT_OPT
           
protected static int LOCATION_IMPORT_OPT
           
protected static int LOCATION_OPT
           
protected static int METHODS_ALLOWED_OPT
           
protected static int METHODS_NOTALLOWED_OPT
           
protected  int mode
           
protected static int NAMESPACE_IMPL_OPT
           
protected static int NAMESPACE_OPT
           
protected  java.util.HashMap namespaceMap
           
protected  CLOptionDescriptor (src) [] options
          Define the understood options.
protected static int OUTPUT_IMPL_OPT
           
protected static int OUTPUT_OPT
           
protected static int OUTPUT_WSDL_MODE_OPT
           
protected static int PACKAGE_OPT
           
protected static int PORTTYPE_NAME_OPT
           
protected static int SERVICE_ELEMENT_NAME_OPT
           
protected static int SERVICE_PORT_NAME_OPT
           
protected static int SOAPACTION_OPT
           
protected static int STOP_CLASSES_OPT
           
protected static int STYLE_OPT
           
protected static int TYPEMAPPING_OPT
           
protected static int USE_OPT
           
protected  java.lang.String wsdlFilename
           
protected  java.lang.String wsdlImplFilename
           
 
Constructor Summary
protected Java2WSDL()
          Instantiate a Java2WSDL emitter.
 
Method Summary
protected  void addOptions(CLOptionDescriptor (src) [] newOptions)
          addOptions Add option descriptions to the tool.
protected  Emitter (src) createEmitter()
          Instantiate an Emitter
static void main(java.lang.String[] args)
          Main Run the Java2WSDL emitter with the specified command-line arguments
protected  boolean parseOption(CLOption (src)  option)
          Parse an option
protected  void printUsage()
          printUsage print usage information and quit.
protected  int run(java.lang.String[] args)
          run checks the command-line arguments and runs the tool.
protected  boolean validateOptions()
          validateOptions This method is invoked after the options are set to validate the option settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INHERITED_CLASS_OPT

protected static final int INHERITED_CLASS_OPT
See Also:
Constant Field Values (src)

SOAPACTION_OPT

protected static final int SOAPACTION_OPT
See Also:
Constant Field Values (src)

BINDING_NAME_OPT

protected static final int BINDING_NAME_OPT
See Also:
Constant Field Values (src)

STOP_CLASSES_OPT

protected static final int STOP_CLASSES_OPT
See Also:
Constant Field Values (src)

IMPORT_SCHEMA_OPT

protected static final int IMPORT_SCHEMA_OPT
See Also:
Constant Field Values (src)

EXTRA_CLASSES_OPT

protected static final int EXTRA_CLASSES_OPT
See Also:
Constant Field Values (src)

HELP_OPT

protected static final int HELP_OPT
See Also:
Constant Field Values (src)

IMPL_CLASS_OPT

protected static final int IMPL_CLASS_OPT
See Also:
Constant Field Values (src)

INPUT_OPT

protected static final int INPUT_OPT
See Also:
Constant Field Values (src)

LOCATION_OPT

protected static final int LOCATION_OPT
See Also:
Constant Field Values (src)

LOCATION_IMPORT_OPT

protected static final int LOCATION_IMPORT_OPT
See Also:
Constant Field Values (src)

METHODS_ALLOWED_OPT

protected static final int METHODS_ALLOWED_OPT
See Also:
Constant Field Values (src)

NAMESPACE_OPT

protected static final int NAMESPACE_OPT
See Also:
Constant Field Values (src)

NAMESPACE_IMPL_OPT

protected static final int NAMESPACE_IMPL_OPT
See Also:
Constant Field Values (src)

OUTPUT_OPT

protected static final int OUTPUT_OPT
See Also:
Constant Field Values (src)

OUTPUT_IMPL_OPT

protected static final int OUTPUT_IMPL_OPT
See Also:
Constant Field Values (src)

PACKAGE_OPT

protected static final int PACKAGE_OPT
See Also:
Constant Field Values (src)

PORTTYPE_NAME_OPT

protected static final int PORTTYPE_NAME_OPT
See Also:
Constant Field Values (src)

SERVICE_PORT_NAME_OPT

protected static final int SERVICE_PORT_NAME_OPT
See Also:
Constant Field Values (src)

SERVICE_ELEMENT_NAME_OPT

protected static final int SERVICE_ELEMENT_NAME_OPT
See Also:
Constant Field Values (src)

TYPEMAPPING_OPT

protected static final int TYPEMAPPING_OPT
See Also:
Constant Field Values (src)

USE_OPT

protected static final int USE_OPT
See Also:
Constant Field Values (src)

OUTPUT_WSDL_MODE_OPT

protected static final int OUTPUT_WSDL_MODE_OPT
See Also:
Constant Field Values (src)

METHODS_NOTALLOWED_OPT

protected static final int METHODS_NOTALLOWED_OPT
See Also:
Constant Field Values (src)

STYLE_OPT

protected static final int STYLE_OPT
See Also:
Constant Field Values (src)

options

protected CLOptionDescriptor (src) [] 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


emitter

protected Emitter (src)  emitter

className

protected java.lang.String className

wsdlFilename

protected java.lang.String wsdlFilename

wsdlImplFilename

protected java.lang.String wsdlImplFilename

namespaceMap

protected java.util.HashMap namespaceMap

mode

protected int mode
Constructor Detail

Java2WSDL

protected Java2WSDL()
Instantiate a Java2WSDL emitter.

Method Detail

createEmitter

protected Emitter (src)  createEmitter()
Instantiate an Emitter


addOptions

protected void addOptions(CLOptionDescriptor (src) [] newOptions)
addOptions Add option descriptions to the tool. Allows extended classes to add additional options.

Parameters:
newOptions - CLOptionDescriptor[] the options

parseOption

protected boolean parseOption(CLOption (src)  option)
Parse an option

Parameters:
option - CLOption is the option

validateOptions

protected boolean validateOptions()
validateOptions This method is invoked after the options are set to validate the option settings.


run

protected int run(java.lang.String[] args)
run checks the command-line arguments and runs the tool.

Parameters:
args - String[] command-line arguments.

printUsage

protected void printUsage()
printUsage print usage information and quit.


main

public static void main(java.lang.String[] args)
Main Run the Java2WSDL emitter with the specified command-line arguments

Parameters:
args - String[] command-line arguments