biz.hammurapi.ant
Class StyleTask
java.lang.Object
Task
biz.hammurapi.ant.StyleTask
public class StyleTask
- extends Task
This task applies a stylesheet to XML files. Output file name is calculated from XPath expression.
- Author:
- Pavel Vlasov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StyleTask
public StyleTask()
setOutputDir
public void setOutputDir(java.io.File outputDir)
- Output directory.
- Parameters:
outputDir
-
setFileName
public void setFileName(java.lang.String fileName)
- XPath expression for file name. Use / for file separator.
- Parameters:
fileName
-
addFileSet
public void addFileSet(FileSet fileSet)
setStyle
public void setStyle(java.io.File style)
execute
public void execute()
throws BuildException
- Throws:
BuildException
Copyright © 2003 Hammurapi Group. All Rights Reserved.