public class WsImport2
extends org.apache.tools.ant.taskdefs.MatchingTask
Modifier and Type | Field and Description |
---|---|
protected boolean |
extension
-extensions option
|
protected boolean |
verbose
-verbose option
|
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 |
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
|
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.
|
boolean |
getKeep()
Gets the "keep" flag.
|
boolean |
getOptimize()
Gets the optimize 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 |
isGenerateJWS() |
boolean |
isQuiet() |
boolean |
isXadditionalHeaders() |
boolean |
isXdebug() |
boolean |
isXendorsed() |
boolean |
isXnocompile() |
boolean |
isXUseBaseResourceAndURLToLoadWSDL() |
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 advertized.
|
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 |
setOptimize(boolean optimize)
Sets the optimize 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) |
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 extension
protected boolean xNoAddressingDatabinding
protected boolean verbose
public boolean isXdebug()
public void setXendorsed(boolean xendorsed)
public boolean isXendorsed()
public void setXdebug(boolean xdebug)
public boolean isXnocompile()
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 void setXnocompile(boolean xnocompile)
public org.apache.tools.ant.types.Commandline.Argument createArg()
public boolean isXadditionalHeaders()
public void setXadditionalHeaders(boolean xadditionalHeaders)
public File getDestdir()
public void setDestdir(File base)
public String getClientjar()
public void setClientjar(String clientjar)
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 createJvmarg()
public org.apache.tools.ant.types.Commandline.Argument createXjcarg()
public void setFailonerror(boolean value)
public boolean getExtension()
public void setExtension(boolean extension)
public boolean getxNoAddressingDatabinding()
public void setxNoAddressingDatabinding(boolean xNoAddressingDatabinding)
public boolean getKeep()
public void setKeep(boolean keep)
public boolean isQuiet()
public void setQuiet(boolean quiet)
public void setTarget(String version)
public boolean getFork()
public void setFork(boolean fork)
public boolean getOptimize()
public void setOptimize(boolean optimize)
public void setSourcedestdir(File sourceBase)
public File getSourcedestdir()
public void setEncoding(String encoding)
public String getEncoding()
public boolean getVerbose()
public void setVerbose(boolean verbose)
public boolean getDebug()
public void setDebug(boolean debug)
public void setIncludeantruntime(boolean include)
public boolean getIncludeantruntime()
public void setIncludejavaruntime(boolean include)
public boolean getIncludejavaruntime()
public void addConfiguredDepends(org.apache.tools.ant.types.FileSet fs)
public void addConfiguredProduces(org.apache.tools.ant.types.FileSet fs)
public void setBinding(String binding)
binding
- The external binding to set.public void setCatalog(File catalog)
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)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.