org.znerd.xincludetask
Class XIncludeTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.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/

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
XIncludeTask()
           
 
Method Summary
 void execute()
           
 void setIn(String in)
          Sets the input file.
 void setOut(String out)
          Sets the output file.
 void setOutEncoding(String encoding)
          Sets the encoding to use for the output.
 
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 org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XIncludeTask

public XIncludeTask()
Method Detail

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/.