|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.commons.jelly.task.JellyTask
JellyTask
is an Ant task which will
run a given Jelly script.
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 | |
JellyTask()
|
Method Summary | |
protected Script |
compileScript()
Compiles the script |
void |
execute()
Excutes the Jelly script |
JellyContext |
getJellyContext()
The context to use |
java.net.URL |
getRootContext()
Gets the root context |
java.net.URL |
getUrl()
|
XMLOutput |
getXMLOutput()
|
protected java.net.URL |
resolveURL(java.lang.String name)
|
void |
setFile(java.io.File file)
Sets the script file to use |
void |
setOutput(java.io.File output)
Sets the output to generate |
void |
setRootContext(java.net.URL rootContext)
Sets the root context |
void |
setScript(java.lang.String script)
Sets the script URL to use as an absolute URL or a relative filename |
void |
setUrl(java.net.URL url)
Sets the script URL to use |
void |
setXMLOutput(XMLOutput xmlOutput)
Sets the XMLOutput used |
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 |
Constructor Detail |
public JellyTask()
Method Detail |
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
public void setScript(java.lang.String script) throws java.net.MalformedURLException
public java.net.URL getUrl()
public void setUrl(java.net.URL url)
public void setFile(java.io.File file) throws java.net.MalformedURLException
public void setOutput(java.io.File output) throws java.io.IOException
public XMLOutput getXMLOutput() throws java.io.IOException
public void setXMLOutput(XMLOutput xmlOutput)
public java.net.URL getRootContext() throws java.net.MalformedURLException
public void setRootContext(java.net.URL rootContext)
public JellyContext getJellyContext() throws java.net.MalformedURLException
protected Script compileScript() throws java.lang.Exception
protected java.net.URL resolveURL(java.lang.String name) throws java.net.MalformedURLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |