![]()
|
WsdlToDotnet (Apache Ant API)
org.apache.tools.ant.taskdefs.optional.dotnet
|
Field Summary | |
protected java.lang.String |
extraOptions
any extra command options? |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
WsdlToDotnet()
|
Method Summary | |
void |
execute()
do the work by building the command line and then calling it |
void |
setDestFile(java.io.File destFile)
Name of the file to generate. |
void |
setExtraOptions(java.lang.String extraOptions)
Any extra WSDL.EXE options which aren't explicitly supported by the ant wrapper task; optional |
void |
setFailOnError(boolean failOnError)
Should failure halt the build? optional, default=true |
void |
setLanguage(java.lang.String language)
set the language; one of "CS", "JS", or "VB" optional, default is CS for C# source |
void |
setNamespace(java.lang.String namespace)
namespace to place the source in. |
void |
setServer(boolean server)
flag to enable server side code generation; optional, default=false |
void |
setSrcFile(java.io.File srcFile)
The local WSDL file to parse; either url or srcFile is required. |
void |
setUrl(java.lang.String url)
Sets the URL to fetch. |
protected void |
validate()
validation code |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String extraOptions
Constructor Detail |
public WsdlToDotnet()
Method Detail |
public void setDestFile(java.io.File destFile)
destFile
- filenamepublic void setUrl(java.lang.String url)
url
- url to savepublic void setSrcFile(java.io.File srcFile)
srcFile
- name of WSDL filepublic void setLanguage(java.lang.String language)
language
- language to generatepublic void setServer(boolean server)
server
- server-side flagpublic void setNamespace(java.lang.String namespace)
namespace
- new namespacepublic void setFailOnError(boolean failOnError)
failOnError
- new failure optionpublic void setExtraOptions(java.lang.String extraOptions)
extraOptions
- The new ExtraOptions valueprotected void validate() throws BuildException
BuildException
- if validation failedpublic void execute() throws BuildException
BuildException
- if validation or execution failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |