org.jcoderz.commons.taskdefs
Class SaxonTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.Java
              extended by org.jcoderz.commons.taskdefs.SaxonTask
All Implemented Interfaces:
Cloneable

public class SaxonTask
extends org.apache.tools.ant.taskdefs.Java

Ant task wrapper for Saxon.

Author:
Michael Griffel

Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.Java
redirector, redirectorElement
 
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
SaxonTask()
          Constructor.
 
Method Summary
 void execute()
          
 void setClassname(String arg0)
          
 void setCss(File f)
          Sets the CSS stylesheet file.
 void setHaveRenderX(boolean b)
           
 void setIn(File f)
          Sets the XML input file that contains the document.
 void setOut(File f)
          Set the destination file into which the result is written.
 void setXsl(File f)
          Sets the XSL stylesheet file.
 
Methods inherited from class org.apache.tools.ant.taskdefs.Java
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, executeJava, getCommandLine, getSysProperties, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClasspath, setClasspathRef, setCloneVm, setDir, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, 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

SaxonTask

public SaxonTask()
Constructor.

Method Detail

setIn

public void setIn(File f)
Sets the XML input file that contains the document.

Parameters:
f - the XML input file (log message info).

setOut

public void setOut(File f)
Set the destination file into which the result is written.

Parameters:
f - the name of the destination file.

setXsl

public void setXsl(File f)
Sets the XSL stylesheet file.

Parameters:
f - the XSL stylesheet file.

setCss

public void setCss(File f)
Sets the CSS stylesheet file.

Parameters:
f - the CSS stylesheet file.

setClassname

public void setClassname(String arg0)
                  throws org.apache.tools.ant.BuildException

Overrides:
setClassname in class org.apache.tools.ant.taskdefs.Java
Throws:
org.apache.tools.ant.BuildException

setHaveRenderX

public void setHaveRenderX(boolean b)

execute

public void execute()
             throws org.apache.tools.ant.BuildException

Overrides:
execute in class org.apache.tools.ant.taskdefs.Java
Throws:
org.apache.tools.ant.BuildException


Copyright 2007 The jCoderZ Project.