public class WsgenOptions extends Options
Options.Target, Options.WeAreDone
Modifier and Type | Field and Description |
---|---|
boolean |
doNotOverWrite
-Xdonotoverwrite
|
Class |
endpoint |
List<String> |
externalMetadataFiles
-x file1 -x file2 ... |
boolean |
genWsdl
-wsdl
|
boolean |
inlineSchemas
-inlineSchemas
|
File |
nonclassDestDir
-r
|
Map<String,String> |
nonstdProtocols |
QName |
portName
-portname
|
String |
protocol
protocol value
|
Set<String> |
protocols |
boolean |
protocolSet
Tells if user specified a specific protocol
|
QName |
serviceName
-servicename
|
File |
wsgenReport
-XwsgenReport
|
static String |
X_SOAP12 |
Constructor and Description |
---|
WsgenOptions() |
Modifier and Type | Method and Description |
---|---|
protected void |
addFile(String arg)
Adds a file from the argume
|
protected int |
parseArguments(String[] args,
int i)
Parses an option
args[i] and return
the number of tokens consumed. |
void |
validate() |
addGeneratedFile, deleteGeneratedFiles, disableXmlSecurity, fileToURL, getClassLoader, getGeneratedFiles, isExtensionMode, parseArguments, pathToURLs, removeGeneratedFiles, requireArgument
public QName serviceName
public QName portName
public File nonclassDestDir
public boolean genWsdl
public boolean inlineSchemas
public String protocol
public File wsgenReport
public boolean doNotOverWrite
public boolean protocolSet
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
public static final String X_SOAP12
public Class endpoint
protected int parseArguments(String[] args, int i) throws BadCommandLineException
Options
args[i]
and return
the number of tokens consumed.parseArguments
in class Options
BadCommandLineException
- If the callee wants to provide a custom message for an error.protected void addFile(String arg)
Options
public void validate() throws BadCommandLineException
BadCommandLineException
Copyright © 2017 Oracle Corporation. All rights reserved.