|
||||||||||
| 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.jcoderz.commons.taskdefs.XsltBasedTask
public abstract class XsltBasedTask
This class implements common functionality for XSLT based Ant tasks.
| Field Summary |
|---|
| 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 | |
|---|---|
XsltBasedTask()
|
|
| Method Summary | |
|---|---|
void |
execute()
Execute this task. |
String |
getFawkezVersionAsString()
|
void |
resolveExternalEntities(boolean b)
If set to false, external entities will not be resolved. |
void |
setDestdir(File dir)
Set the destination directory into which the XSL result files should be copied to. |
void |
setFailonerror(boolean b)
Set whether we should fail on an error. |
void |
setForce(boolean b)
Sets the force output of target files flag to the given value. |
void |
setIn(File f)
Sets the XML input file that contains the log message info document. |
void |
setLogLevel(int level)
Sets the log level. |
void |
setOut(File f)
Sets the output file. |
void |
setXsl(String s)
Sets the XSL file that is used to generate the log message info classes. |
| 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, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XsltBasedTask()
| Method Detail |
|---|
public void setDestdir(File dir)
dir - the name of the destination directory.public void setXsl(String s)
s - the XSL file to use.public void setIn(File f)
f - the XML input file (log message info).public void setOut(File f)
f - The output file.public void setForce(boolean b)
b - Whether we should force the generation of output files.public void setFailonerror(boolean b)
b - Whether we should fail on an error.public void setLogLevel(int level)
level - the new log level
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - An building exception occurred.public String getFawkezVersionAsString()
public void resolveExternalEntities(boolean b)
b - new value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||