|
||||||||||
| 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.XsltBatchProcessor
public class XsltBatchProcessor
Ant task that performs XSL transformation for a set of input files.
| 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 | |
|---|---|
XsltBatchProcessor()
|
|
| Method Summary | |
|---|---|
void |
addFiles(org.apache.tools.ant.types.FileSet fs)
XML files that are used as input documents for the transformation. |
void |
execute()
|
void |
resolveExternalEntities(boolean b)
If set to false, external entities will not be resolved. |
void |
setFailonerror(boolean b)
Set whether we should fail on an error. |
void |
setXsl(String f)
Set the XSL Stylesheet to use. |
| 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 XsltBatchProcessor()
| Method Detail |
|---|
public void setFailonerror(boolean b)
b - Whether we should fail on an error.public void setXsl(String f)
f - The name of the XSL Stylesheet file.XsltBasedTask.getDefaultStyleSheet()public void addFiles(org.apache.tools.ant.types.FileSet fs)
fs - fileset of XML files.
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void resolveExternalEntities(boolean b)
b - new value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||