org.activemath.util
Class RepeatedXSLTProcess

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by org.apache.tools.ant.taskdefs.XSLTProcess
                  extended by org.activemath.util.RepeatedXSLTProcess
All Implemented Interfaces:
org.apache.tools.ant.taskdefs.XSLTLogger, org.apache.tools.ant.types.selectors.SelectorContainer

public class RepeatedXSLTProcess
extends org.apache.tools.ant.taskdefs.XSLTProcess

Next step: load these application elements from an file


Nested Class Summary
 class RepeatedXSLTProcess.Application
           
 
Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.XSLTProcess
org.apache.tools.ant.taskdefs.XSLTProcess.Factory, org.apache.tools.ant.taskdefs.XSLTProcess.OutputProperty, org.apache.tools.ant.taskdefs.XSLTProcess.Param
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
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
RepeatedXSLTProcess()
           
 
Method Summary
 RepeatedXSLTProcess.Application createApplication()
           
 void execute()
          Iterates over the applications, setting the necessary properties in the parent class and calling the execute.
 void setIn(File inFile)
          Pure hack as the style member variable is private and there's not getter.
 void setStyle(String style)
          Pure hack as the style member variable is private and there's not getter.
 
Methods inherited from class org.apache.tools.ant.taskdefs.XSLTProcess
addConfiguredXMLCatalog, addMapper, configureLiaison, createClasspath, createFactory, createOutputProperty, createParam, getFactory, getLiaison, getOutputProperties, getXMLCatalog, init, setBasedir, setClasspath, setClasspathRef, setDestdir, setExtension, setForce, setOut, setProcessor, setReloadStylesheet, setScanIncludedDirectories
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tools.ant.taskdefs.XSLTLogger
log
 

Constructor Detail

RepeatedXSLTProcess

public RepeatedXSLTProcess()
Method Detail

createApplication

public RepeatedXSLTProcess.Application createApplication()

setStyle

public void setStyle(String style)
Pure hack as the style member variable is private and there's not getter.

Overrides:
setStyle in class org.apache.tools.ant.taskdefs.XSLTProcess

setIn

public void setIn(File inFile)
Pure hack as the style member variable is private and there's not getter.

Overrides:
setIn in class org.apache.tools.ant.taskdefs.XSLTProcess

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Iterates over the applications, setting the necessary properties in the parent class and calling the execute. (this should be revised so that failures and messages are output appropriately on the application elements instead of being output on the task elements. Currenly just reports an error on the console but does not stop the processing.

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