org.xins.common.ant
Class CreateExampleTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.xins.common.ant.CreateExampleTask
- public class CreateExampleTask
- extends Task
Apache Ant task that generates the specification code of an example based
on the request URL.
- Since:
- XINS 1.4.0
- Version:
- $Revision: 1.9 $ $Date: 2006/10/25 09:39:34 $
- Author:
- Anthony Goubard
Method Summary |
void |
execute()
Called by the project to let the task do its work. |
void |
setExampleProperty(String exampleProperty)
Sets the name of the property in which the result should be stored. |
void |
setFunctionProperty(String functionProperty)
Sets the name of the property in which the name of the function should be stored. |
void |
setRequestURL(String requestURL)
Sets the URL to call the function. |
void |
setXslLocation(String xslLocation)
Sets the location of the XSL style sheet to use to create the example. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateExampleTask
public CreateExampleTask()
setRequestURL
public void setRequestURL(String requestURL)
- Sets the URL to call the function.
- Parameters:
requestURL
- the name of the property to store the uppercase value.
setExampleProperty
public void setExampleProperty(String exampleProperty)
- Sets the name of the property in which the result should be stored.
- Parameters:
exampleProperty
- the name of the property in which the result should be stored.
setFunctionProperty
public void setFunctionProperty(String functionProperty)
- Sets the name of the property in which the name of the function should be stored.
- Parameters:
functionProperty
- the name of the property in which the result should be stored.
setXslLocation
public void setXslLocation(String xslLocation)
- Sets the location of the XSL style sheet to use to create the example.
- Parameters:
xslLocation
- the name of the property in which the result should be stored.
execute
public void execute()
throws BuildException
- Called by the project to let the task do its work.
- Throws:
BuildException
- if something goes wrong with the build.
See http://www.xins.org/.