net.sourceforge.jeuclid.ant
Class MathMLConverter

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 net.sourceforge.jeuclid.ant.MathMLConverter
All Implemented Interfaces:
org.apache.tools.ant.types.selectors.SelectorContainer

public class MathMLConverter
extends org.apache.tools.ant.taskdefs.MatchingTask

This task converts MathML files to images.

Version:
$Revision: 310 $
Author:
Unkown, Max Berger

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
MathMLConverter()
          Creates a new MathMLConverter Task.
 
Method Summary
 void execute()
          Executes the task.
 void setBasedir(File dir)
          Set the base directory.
 void setDestdir(File dir)
          Set the destination directory into which the result files should be copied to.
 void setForce(boolean force)
          Set whether to check dependencies, or always generate.
 void setIn(File inFile)
          Sets an input xml file to be converted.
 void setOut(File outFile)
          Sets an out file.
 void setType(String mimetype)
          Sets outpuf file mimetype.
 
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, init, 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
 

Constructor Detail

MathMLConverter

public MathMLConverter()
Creates a new MathMLConverter Task.

Method Detail

execute

public void execute()
Executes the task.

Overrides:
execute in class org.apache.tools.ant.Task

setForce

public void setForce(boolean force)
Set whether to check dependencies, or always generate.

Parameters:
force - True, if the task should always generate the images.

setBasedir

public void setBasedir(File dir)
Set the base directory.

Parameters:
dir - Base directory

setDestdir

public void setDestdir(File dir)
Set the destination directory into which the result files should be copied to.

Parameters:
dir - Destination directory

setOut

public void setOut(File outFile)
Sets an out file.

Parameters:
outFile - Output file

setIn

public void setIn(File inFile)
Sets an input xml file to be converted.

Parameters:
inFile - Input file

setType

public void setType(String mimetype)
Sets outpuf file mimetype.

Parameters:
mimetype - mimetype for output file.


Copyright © 2002-2008 The JEuclid project. All Rights Reserved.