public class WsImport2
extends org.apache.tools.ant.taskdefs.MatchingTask
Modifier and Type | Field and Description |
---|---|
protected boolean |
xNoAddressingDatabinding
-Xno-addressing-databinding
|
Constructor and Description |
---|
WsImport2() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredBinding(org.apache.tools.ant.types.FileSet fs) |
void |
addConfiguredDepends(org.apache.tools.ant.types.FileSet fs)
Nested <depends> element.
|
void |
addConfiguredProduces(org.apache.tools.ant.types.FileSet fs)
Nested <produces> element.
|
void |
addConfiguredXMLCatalog(org.apache.tools.ant.types.XMLCatalog entityResolver) |
org.apache.tools.ant.types.Commandline.Argument |
createArg()
Provides a way to directly pass wsimport commandline options through nested arg
instead of a separate attribute for each option.
|
org.apache.tools.ant.types.Commandline.Argument |
createJavacarg()
Adds Javac argument.
|
org.apache.tools.ant.types.Commandline.Argument |
createJvmarg()
Adds a JVM argument.
|
org.apache.tools.ant.types.Commandline.Argument |
createXjcarg()
Adds XJC argument.
|
void |
execute()
Called by the project to let the task do it's work
|
protected void |
execute(String tool,
String toolClass)
Let the task do it's work.
|
File |
getCatalog() |
String |
getClientjar()
Gets the clientjar to output generated artifacts into a jar.
|
boolean |
getDebug()
Gets the debug flag.
|
File |
getDestdir()
Gets the base directory to output generated class.
|
String |
getEncoding()
Gets the encoding for generated source java files.
|
boolean |
getExtension()
Gets the "extension" flag.
|
boolean |
getFork()
Gets the "fork" flag.
|
File |
getImplDestDir() |
String |
getImplPortName() |
String |
getImplServiceName() |
boolean |
getIncludeantruntime()
Gets whether or not the ant classpath is to be included in the task's
classpath.
|
boolean |
getIncludejavaruntime()
Gets whether or not the java runtime should be included in this task's
classpath.
|
org.apache.tools.ant.types.Commandline |
getJavacargs() |
boolean |
getKeep()
Gets the "keep" flag.
|
String |
getPackage() |
File |
getSourcedestdir()
Gets the directory to place generated source java files.
|
boolean |
getVerbose()
Gets the "verbose" flag.
|
String |
getWsdl() |
String |
getWsdllocation() |
File |
getXauthfile() |
boolean |
getXdisableAuthenticator() |
boolean |
getxNoAddressingDatabinding() |
boolean |
isFailonerror() |
boolean |
isGenerateJWS() |
boolean |
isQuiet() |
boolean |
isXadditionalHeaders() |
boolean |
isXdebug() |
boolean |
isXendorsed() |
boolean |
isXnocompile() |
boolean |
isXUseBaseResourceAndURLToLoadWSDL() |
protected boolean |
runInVm(String[] arguments,
OutputStream out)
Used to call the tool directly using API.
|
void |
setBinding(String binding) |
void |
setCatalog(File catalog)
Adds a new catalog file.
|
void |
setClientjar(String clientjar)
Sets the base directory to output generated class.
|
void |
setDebug(boolean debug)
Sets the debug flag.
|
void |
setDestdir(File base)
Sets the base directory to output generated class.
|
void |
setdisableAuthenticator(boolean disableAuthenticator) |
void |
setEncoding(String encoding)
Sets the encoding for generated source java files.
|
void |
setExtension(boolean extension)
Sets the "extension" flag.
|
void |
setFailonerror(boolean value)
Mostly for our SQE teams and not to be advertised.
|
void |
setFork(boolean fork)
Sets the "fork" flag.
|
void |
setGenerateJWS(boolean isGenerateJWS) |
void |
setImplDestDir(File base) |
void |
setImplPortName(String base) |
void |
setImplServiceName(String base) |
void |
setIncludeantruntime(boolean include)
Include ant's own classpath in this task's classpath?
|
void |
setIncludejavaruntime(boolean include)
Sets whether or not to include the java runtime libraries to this task's
classpath.
|
void |
setKeep(boolean keep)
Sets the "keep" flag.
|
void |
setPackage(String pkg) |
void |
setQuiet(boolean quiet) |
void |
setSourcedestdir(File sourceBase)
Sets the directory to place generated source java files.
|
void |
setTarget(String version) |
protected org.apache.tools.ant.types.CommandlineJava |
setupCommand()
Set up command line to invoke.
|
void |
setVerbose(boolean verbose)
Sets the "verbose" flag.
|
void |
setWsdl(String wsdl) |
void |
setWsdllocation(String wsdlLocation) |
void |
setXadditionalHeaders(boolean xadditionalHeaders) |
void |
setXauthfile(File xauthfile) |
void |
setXdebug(boolean xdebug) |
void |
setXendorsed(boolean xendorsed) |
void |
setxNoAddressingDatabinding(boolean xNoAddressingDatabinding) |
void |
setXnocompile(boolean xnocompile) |
void |
setXUseBaseResourceAndURLToLoadWSDL(boolean xuseBaseResourceAndURLToLoadWSDL) |
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected boolean xNoAddressingDatabinding
public boolean isXdebug()
public void setXdebug(boolean xdebug)
public void setXUseBaseResourceAndURLToLoadWSDL(boolean xuseBaseResourceAndURLToLoadWSDL)
public boolean isXUseBaseResourceAndURLToLoadWSDL()
public boolean isGenerateJWS()
public void setGenerateJWS(boolean isGenerateJWS)
public File getImplDestDir()
public void setImplDestDir(File base)
public String getImplServiceName()
public void setImplServiceName(String base)
public String getImplPortName()
public void setImplPortName(String base)
public org.apache.tools.ant.types.Commandline.Argument createArg()
public boolean isXadditionalHeaders()
public void setXadditionalHeaders(boolean xadditionalHeaders)
public String getClientjar()
public void setClientjar(String clientjar)
clientjar
- jar file where to put generated artifacts.public String getWsdllocation()
public void setWsdllocation(String wsdlLocation)
public void addConfiguredXMLCatalog(org.apache.tools.ant.types.XMLCatalog entityResolver)
public void setPackage(String pkg)
public String getPackage()
public org.apache.tools.ant.types.Commandline.Argument createXjcarg()
public boolean getxNoAddressingDatabinding()
public void setxNoAddressingDatabinding(boolean xNoAddressingDatabinding)
public boolean isQuiet()
public void setQuiet(boolean quiet)
public void setTarget(String version)
public void addConfiguredDepends(org.apache.tools.ant.types.FileSet fs)
fs
- FileSet to check for modifications.public void addConfiguredProduces(org.apache.tools.ant.types.FileSet fs)
fs
- FileSet to check for modifications.public void setBinding(String binding)
binding
- The external binding to set.public void setCatalog(File catalog)
catalog
- catalog file to use.public File getCatalog()
public String getWsdl()
public void setWsdl(String wsdl)
wsdl
- The wsdl to set.public File getXauthfile()
public void setXauthfile(File xauthfile)
public boolean getXdisableAuthenticator()
public void setdisableAuthenticator(boolean disableAuthenticator)
public void addConfiguredBinding(org.apache.tools.ant.types.FileSet fs)
protected org.apache.tools.ant.types.CommandlineJava setupCommand()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
protected boolean runInVm(String[] arguments, OutputStream out)
arguments
- arguments to be passed to the toolout
- output for the toolpublic File getDestdir()
public void setDestdir(File base)
base
- destination directory for generated class(es).public boolean getExtension()
public void setExtension(boolean extension)
extension
- true to set extension mode on, false otherwise.public boolean getKeep()
public void setKeep(boolean keep)
keep
- keep generated sources.public boolean getFork()
public void setFork(boolean fork)
fork
- true to run execution in a forked JVM.public File getSourcedestdir()
public void setSourcedestdir(File sourceBase)
sourceBase
- destination directory for generated source(s).public void setEncoding(String encoding)
encoding
- encoding to use in generated sources.public String getEncoding()
public boolean getVerbose()
public void setVerbose(boolean verbose)
verbose
- whether to output messages about what the compiler is
doing.public boolean getDebug()
public void setDebug(boolean debug)
debug
- generate all debugging info.public org.apache.tools.ant.types.Commandline.Argument createJavacarg()
public org.apache.tools.ant.types.Commandline getJavacargs()
public void setXendorsed(boolean xendorsed)
public boolean isXendorsed()
public boolean isXnocompile()
public void setXnocompile(boolean xnocompile)
public void setFailonerror(boolean value)
value
- a boolean valuepublic boolean isFailonerror()
public void setIncludeantruntime(boolean include)
include
- a boolean value.public boolean getIncludeantruntime()
public void setIncludejavaruntime(boolean include)
include
- a boolean value.public boolean getIncludejavaruntime()
public org.apache.tools.ant.types.Commandline.Argument createJvmarg()
Copyright © 2018 Oracle Corporation. All rights reserved.