org.znerd.xincludetask
Class XIncludeTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.znerd.xincludetask.XIncludeTask
All Implemented Interfaces:
java.lang.Cloneable

public class XIncludeTask
extends org.apache.tools.ant.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/

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
XIncludeTask()
           
 
Method Summary
 void execute()
           
 void setIn(java.lang.String in)
          Sets the input file.
 void setOut(java.lang.String out)
          Sets the output file.
 void setOutEncoding(java.lang.String encoding)
          Sets the encoding to use for the output.
 
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

XIncludeTask

public XIncludeTask()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

setIn

public void setIn(java.lang.String in)
Sets the input file.

Parameters:
in - the input file.

setOut

public void setOut(java.lang.String out)
Sets the output file.

Parameters:
out - the output file.

setOutEncoding

public void setOutEncoding(java.lang.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/.