|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectMatchingTask
com.sun.tools.ws.ant.WsImport2
public class WsImport2
wscompile task for use with the JAXWS project.
| Field Summary | |
|---|---|
protected boolean |
xNoAddressingDatabinding
-Xno-addressing-databinding |
| Constructor Summary | |
|---|---|
WsImport2()
|
|
| Method Summary | |
|---|---|
void |
addConfiguredBinding(FileSet fs)
|
void |
addConfiguredDepends(FileSet fs)
Nested <depends> element. |
void |
addConfiguredProduces(FileSet fs)
Nested <produces> element. |
void |
addConfiguredXMLCatalog(XMLCatalog entityResolver)
|
Commandline.Argument |
createArg()
Provides a way to directly pass wsimport commandline options through nested arg instead of a separate attribute for each option. |
Commandline.Argument |
createJavacarg()
Adds Javac argument. |
Commandline.Argument |
createJvmarg()
Adds a JVM argument. |
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. |
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 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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean xNoAddressingDatabinding
| Constructor Detail |
|---|
public WsImport2()
| Method Detail |
|---|
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 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(XMLCatalog entityResolver)
public void setPackage(String pkg)
public String getPackage()
public 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(FileSet fs)
fs - FileSet to check for modifications.public void addConfiguredProduces(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(FileSet fs)
protected CommandlineJava setupCommand()
public void execute()
throws BuildException
BuildException
protected boolean runInVm(String[] arguments,
OutputStream out)
arguments - arguments to be passed to the toolout - output for the tool
public 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 Commandline.Argument createJavacarg()
public 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 Commandline.Argument createJvmarg()
protected final void execute(String tool,
String toolClass)
throws BuildException
tool - string to use in logged messagestoolClass - class name to invoke
BuildException - if invocation fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||