|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
com.sun.tools.ws.ant.WsTask2
com.sun.tools.ws.ant.WsGen2
public class WsGen2
wsgen task for use with the JAXWS project.
| Nested Class Summary | |
|---|---|
static class |
WsGen2.ExternalMetadata
|
| Field Summary | |
|---|---|
protected org.apache.tools.ant.types.Path |
compileClasspath
********************** -classpath option ************************ |
protected boolean |
inlineSchemas
***************** -inlineSchemas option ********************* |
| Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
fileset |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
WsGen2()
|
|
| Method Summary | |
|---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Creates a nested classpath element. |
WsGen2.ExternalMetadata |
createExternalMetadata()
|
void |
execute()
Called by the project to let the task do it's work * |
org.apache.tools.ant.types.Path |
getClasspath()
Gets the classpath. |
org.apache.tools.ant.types.Path |
getCP()
Gets the classpath. |
boolean |
getGenwsdl()
Gets the genWsdl flag. |
boolean |
getInlineSchemas()
Gets the "inlineSchemas" flag. |
java.lang.String |
getPortname()
Gets the portName. |
java.lang.String |
getProtocol()
Gets the protocol. |
java.io.File |
getResourcedestdir()
Gets the directory for non-class generated files. |
java.lang.String |
getSei()
|
java.lang.String |
getServicename()
Gets the serviceName. |
protected boolean |
runInVm(java.lang.String[] arguments,
java.io.OutputStream out)
Used to call the tool directly using API. |
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Set the classpath to be used for this compilation. |
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
Adds a reference to a CLASSPATH defined elsewhere. |
void |
setCP(org.apache.tools.ant.types.Path classpath)
Set the classpath to be used for this compilation. |
void |
setGenwsdl(boolean genWsdl)
Sets the genWsdl flag. |
void |
setInlineSchemas(boolean inlineSchemas)
Sets the "inlineSchemas" flag. |
void |
setPortname(java.lang.String name)
Sets the serviceName. |
void |
setProtocol(java.lang.String protocol)
Sets the protocol. |
void |
setResourcedestdir(java.io.File resourceDir)
Sets the directory for non-class generated files. |
void |
setSei(java.lang.String endpointImplementationClass)
Set SEI. |
void |
setServicename(java.lang.String name)
Sets the serviceName. |
protected org.apache.tools.ant.types.CommandlineJava |
setupCommand()
Set up command line to invoke. |
| Methods inherited from class com.sun.tools.ws.ant.WsTask2 |
|---|
createJavacarg, createJvmarg, execute, getDebug, getDestdir, getEncoding, getExtension, getFork, getIncludeantruntime, getIncludejavaruntime, getJavacargs, getKeep, getSourcedestdir, getVerbose, isFailonerror, isXendorsed, isXnocompile, setDebug, setDestdir, setEncoding, setExtension, setFailonerror, setFork, setIncludeantruntime, setIncludejavaruntime, setKeep, setSourcedestdir, setVerbose, setXendorsed, setXnocompile |
| Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
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 |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.tools.ant.types.Path compileClasspath
protected boolean inlineSchemas
| Constructor Detail |
|---|
public WsGen2()
| Method Detail |
|---|
public org.apache.tools.ant.types.Path getClasspath()
public void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath - user defined classpath.public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
r - classpath reference.public org.apache.tools.ant.types.Path getCP()
public void setCP(org.apache.tools.ant.types.Path classpath)
classpath - user defined classpath.public boolean getInlineSchemas()
public void setInlineSchemas(boolean inlineSchemas)
inlineSchemas - true to inline schema in a WSDL.public java.io.File getResourcedestdir()
public void setResourcedestdir(java.io.File resourceDir)
resourceDir - destination directory for generated resource(s).public boolean getGenwsdl()
public void setGenwsdl(boolean genWsdl)
genWsdl - true to generate a WSDL.public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol - protocol.public java.lang.String getServicename()
public void setServicename(java.lang.String name)
name - service name.public java.lang.String getPortname()
public void setPortname(java.lang.String name)
name - port name.public java.lang.String getSei()
public void setSei(java.lang.String endpointImplementationClass)
endpointImplementationClass - SEI.protected org.apache.tools.ant.types.CommandlineJava setupCommand()
WsTask2
setupCommand in class WsTask2
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
protected boolean runInVm(java.lang.String[] arguments,
java.io.OutputStream out)
WsTask2
runInVm in class WsTask2arguments - arguments to be passed to the toolout - output for the tool
public WsGen2.ExternalMetadata createExternalMetadata()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||