Class WSDL2

java.lang.Object
org.apache.axis.wsdl.gen.WSDL2
Direct Known Subclasses:
WSDL2Java

public class WSDL2 extends Object
Class WSDL2
Version:
%I%, %G%
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final int
    Field DEBUG_OPT
    protected static final int
    Field HELP_OPT
    protected static final int
    Field NETWORK_TIMEOUT_OPT
    protected static final int
    Field NOIMPORTS_OPT
    protected static final int
    Field NOWRAP_OPT
    protected CLOptionDescriptor[]
    Field options
    protected Parser
    Field parser
    protected static final int
    Filed quiet
    protected static final int
    Field VERBOSE_OPT
    protected String
    Field wsdlURI
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor Used by extended classes to construct an instance of WSDL2
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addOptions Add option descriptions to the tool.
    protected Parser
    createParser Used by extended classes to construct an instance of the Parser
    protected Parser
    getParser get the Parser object
    static void
    main(String[] args)
    Main Run the tool with the specified command-line arguments
    protected void
    Parse an option
    protected void
    printUsage print usage information and quit.
    protected void
    removeOption Remove an option description from the tool.
    protected void
    run(String[] args)
    run checkes the command-line arguments and runs the tool.
    protected void
    validateOptions This method is invoked after the options are set to validate and default the options the option settings.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • WSDL2

      protected WSDL2()
      Constructor Used by extended classes to construct an instance of WSDL2
  • Method Details

    • createParser

      protected Parser createParser()
      createParser Used by extended classes to construct an instance of the Parser
      Returns:
    • getParser

      protected Parser getParser()
      getParser get the Parser object
      Returns:
    • addOptions

      protected void addOptions(CLOptionDescriptor[] newOptions)
      addOptions Add option descriptions to the tool.
      Parameters:
      newOptions - CLOptionDescriptor[] the options
    • removeOption

      protected void removeOption(String name)
      removeOption Remove an option description from the tool.
      Parameters:
      name - the name of the CLOptionDescriptor to remove
    • parseOption

      protected void parseOption(CLOption option)
      Parse an option
      Parameters:
      option - CLOption is the option
    • validateOptions

      protected void validateOptions()
      validateOptions This method is invoked after the options are set to validate and default the options the option settings.
    • printUsage

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

      protected void run(String[] args)
      run checkes the command-line arguments and runs the tool.
      Parameters:
      args - String[] command-line arguments.
    • main

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