Package com.sun.tools.ws.wscompile
Class WsgenOptions
- java.lang.Object
-
- com.sun.tools.ws.wscompile.Options
-
- com.sun.tools.ws.wscompile.WsgenOptions
-
public class WsgenOptions extends Options
- Author:
- Vivek Pandey
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.tools.ws.wscompile.Options
Options.Target, Options.WeAreDone
-
-
Field Summary
Fields Modifier and Type Field Description booleandoNotOverWrite-XdonotoverwriteClassendpointList<String>externalMetadataFiles-x file1 -x file2 ...
Files to be parsed to get classes' metadata in addition/instead of using annotations and reflection APIbooleangenWsdl-wsdlbooleaninlineSchemas-inlineSchemasFilenonclassDestDir-rMap<String,String>nonstdProtocolsQNameportName-portnameStringprotocolprotocol valueSet<String>protocolsbooleanprotocolSetTells if user specified a specific protocolQNameserviceName-servicenameFilewsgenReport-XwsgenReportstatic StringX_SOAP12
-
Constructor Summary
Constructors Constructor Description WsgenOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddFile(String arg)Adds a file from the argumeprotected intparseArguments(String[] args, int i)Parses an optionargs[i]and return the number of tokens consumed.voidvalidate()-
Methods inherited from class com.sun.tools.ws.wscompile.Options
addGeneratedFile, addGeneratedFile, deleteGeneratedFiles, disableXmlSecurity, fileToURL, getClassLoader, getGeneratedFiles, getJavacOptions, isExtensionMode, parseArguments, pathToURLs, removeGeneratedFiles, requireArgument
-
-
-
-
Field Detail
-
serviceName
public QName serviceName
-servicename
-
portName
public QName portName
-portname
-
nonclassDestDir
public File nonclassDestDir
-r
-
genWsdl
public boolean genWsdl
-wsdl
-
inlineSchemas
public boolean inlineSchemas
-inlineSchemas
-
protocol
public String protocol
protocol value
-
wsgenReport
public File wsgenReport
-XwsgenReport
-
doNotOverWrite
public boolean doNotOverWrite
-Xdonotoverwrite
-
protocolSet
public boolean protocolSet
Tells if user specified a specific protocol
-
externalMetadataFiles
public List<String> externalMetadataFiles
-x file1 -x file2 ...
Files to be parsed to get classes' metadata in addition/instead of using annotations and reflection API
-
X_SOAP12
public static final String X_SOAP12
- See Also:
- Constant Field Values
-
endpoint
public Class endpoint
-
-
Method Detail
-
parseArguments
protected int parseArguments(String[] args, int i) throws BadCommandLineException
Description copied from class:OptionsParses an optionargs[i]and return the number of tokens consumed.- Overrides:
parseArgumentsin classOptions- 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:OptionsAdds a file from the argume
-
validate
public void validate() throws BadCommandLineException- Throws:
BadCommandLineException
-
-