com.sun.tools.ws.wscompile
Class WsgenOptions

java.lang.Object
  extended by com.sun.tools.ws.wscompile.Options
      extended by com.sun.tools.ws.wscompile.WsgenOptions

public class WsgenOptions
extends Options


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.tools.ws.wscompile.Options
Options.Target, Options.WeAreDone
 
Field Summary
 boolean doNotOverWrite
          -Xdonotoverwrite
 Class endpoint
           
(package private)  List<String> endpoints
           
 Filer filer
           
 boolean genWsdl
          -wsdl
 File nonclassDestDir
          -r
 QName portName
          -portname
 String protocol
          protocol value
 boolean protocolSet
          Tells if user specified a specific protocol
 QName serviceName
          -servicename
 String transport
           
 File wsgenReport
          -XwsgenReport
static String X_SOAP12
           
 
Fields inherited from class com.sun.tools.ws.wscompile.Options
classpath, compatibilityMode, debug, debugMode, destDir, EXTENSION, keep, nocompile, quiet, sourceDir, STRICT, target, targetDir, verbose
 
Constructor Summary
WsgenOptions()
           
 
Method Summary
protected  void addFile(String arg)
          Adds a file from the argume
static BindingID getBindingID(String protocol)
           
protected  int parseArguments(String[] args, int i)
          Parses an option args[i] and return the number of tokens consumed.
 void validate()
           
 
Methods inherited from class com.sun.tools.ws.wscompile.Options
addGeneratedFile, deleteGeneratedFiles, fileToURL, getClassLoader, getGeneratedFiles, isExtensionMode, parseArguments, pathToURLs, removeGeneratedFiles, requireArgument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceName

public QName serviceName
-servicename


portName

public QName portName
-portname


nonclassDestDir

public File nonclassDestDir
-r


genWsdl

public boolean genWsdl
-wsdl


protocol

public String protocol
protocol value


transport

public String transport

wsgenReport

public File wsgenReport
-XwsgenReport


doNotOverWrite

public boolean doNotOverWrite
-Xdonotoverwrite


filer

public Filer filer

protocolSet

public boolean protocolSet
Tells if user specified a specific protocol


X_SOAP12

public static final String X_SOAP12
See Also:
Constant Field Values

endpoints

List<String> endpoints

endpoint

public Class endpoint
Constructor Detail

WsgenOptions

public WsgenOptions()
Method Detail

parseArguments

protected int parseArguments(String[] args,
                             int i)
                      throws BadCommandLineException
Description copied from class: Options
Parses an option args[i] and return the number of tokens consumed.

Overrides:
parseArguments in class Options
Returns:
0 if the argument is not understood. Returning 0 will let the caller report an error.
Throws:
BadCommandLineException - If the callee wants to provide a custom message for an error.

addFile

protected void addFile(String arg)
Description copied from class: Options
Adds a file from the argume

Overrides:
addFile in class Options
Parameters:
arg - a file, could be a wsdl or xsd or a Class

validate

public void validate()
              throws BadCommandLineException
Throws:
BadCommandLineException

getBindingID

public static BindingID getBindingID(String protocol)