org.znerd.xincludetask
Class XIncludeTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.znerd.xincludetask.XIncludeTask
- public class XIncludeTask
- extends Task
XInclude task.
- Version:
- $Revision: 1.3 $ $Date: 2003/09/17 09:56:53 $
- Author:
- Ernst de Haan
- See Also:
http://www.w3.org/TR/xinclude/
,
http://www.ibiblio.org/xml/XInclude/
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XIncludeTask
public XIncludeTask()
execute
public void execute()
throws BuildException
- Throws:
BuildException
setIn
public void setIn(String in)
- Sets the input file.
- Parameters:
in
- the input file.
setOut
public void setOut(String out)
- Sets the output file.
- Parameters:
out
- the output file.
setOutEncoding
public void setOutEncoding(String encoding)
- Sets the encoding to use for the output. If the encoding is unsupported,
then the build (see
execute()
) will fail.
- Parameters:
encoding
- the encoding to use.
See http://people.FreeBSD.org/~znerd/xinclude-task/.