de.bsd.x2svg.ant
Class ConvertorSubTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by de.bsd.x2svg.ant.X2SvgBaseTask
              extended by de.bsd.x2svg.ant.X2SvgSubTask
                  extended by de.bsd.x2svg.ant.ConvertorSubTask
All Implemented Interfaces:
java.lang.Cloneable

public class ConvertorSubTask
extends X2SvgSubTask

The X2SVG conversion sub-task. This task is capable of batch converting sets of SVG documents into output as declared in the parent X2SVG task.

Since:
1.1
Author:
gfloodgate

Field Summary
static java.lang.String ELEMENT_NAME
          The expected element name in ant for tasks instantiated from this class.
(package private)  java.util.ArrayList<org.apache.tools.ant.types.FileSet> fileSets
          Create a hold for FileSet objects that need to be processed.
 
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
ConvertorSubTask()
           
 
Method Summary
 void addFileSet(org.apache.tools.ant.types.FileSet fileSet)
          Add any FileSet Type instances that are to be processed by this task.
 void execute()
          
 
Methods inherited from class de.bsd.x2svg.ant.X2SvgSubTask
getOutputTypes, getRuntimeParameters, setOutputTypes, setRuntimeParameters
 
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
 

Field Detail

ELEMENT_NAME

public static final java.lang.String ELEMENT_NAME
The expected element name in ant for tasks instantiated from this class.

See Also:
Constant Field Values

fileSets

final java.util.ArrayList<org.apache.tools.ant.types.FileSet> fileSets
Create a hold for FileSet objects that need to be processed.

Constructor Detail

ConvertorSubTask

public ConvertorSubTask()
Method Detail

addFileSet

public void addFileSet(org.apache.tools.ant.types.FileSet fileSet)
Add any FileSet Type instances that are to be processed by this task.

Parameters:
fileSet - The file set, as from the build.xml that should be used when executing this task.

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


x2svg version 1.2.1