|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task de.bsd.x2svg.ant.X2SvgBaseTask de.bsd.x2svg.ant.X2SvgTask
public class X2SvgTask
The main X2SVG task, that is responsible for global settings management. and execution of parsing sub-tasks.
Field Summary | |
---|---|
private Output |
output
The output format type collection. |
private RuntimeParameters |
runtimeParameters
The global runtime properties used by all sub-tasks. |
private java.util.ArrayList<X2SvgSubTask> |
tasks
Create a hold for sub-task objects that need to be executed. |
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 | |
---|---|
X2SvgTask()
|
Method Summary | |
---|---|
void |
addConfiguredConvertor(ConvertorSubTask task)
Add a Convertor instance as a task to execure. |
void |
addConfiguredOutput(Output output)
Add an Output |
void |
addConfiguredParser(ParserSubTask task)
Add a Parser instance as a task to execure. |
void |
execute()
|
java.lang.String |
getPropertiesLocation()
Get the x2svg properties location. |
boolean |
isDebugEnabled()
Is debug (verbose output mode) enabled for this task ? |
void |
setDebugEnabled(boolean isDebugEnabled)
Set wether or not debug mode should be activated. |
void |
setPropertiesLocation(java.lang.String propertiesLocation)
Set the x2svg properties location. |
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 |
---|
private final java.util.ArrayList<X2SvgSubTask> tasks
private Output output
private RuntimeParameters runtimeParameters
Constructor Detail |
---|
public X2SvgTask()
Method Detail |
---|
public boolean isDebugEnabled()
public void setDebugEnabled(boolean isDebugEnabled)
isDebugEnabled
- true, If debug should be enabled, false otherwise.public java.lang.String getPropertiesLocation()
public void setPropertiesLocation(java.lang.String propertiesLocation)
propertiesLocation
- The location of the x2svg.properties file to use.public void addConfiguredOutput(Output output)
Output instance as the collection
of output formats to be used by X2SVG.
- Parameters:
output
- The output conversion type instance.
public void addConfiguredParser(ParserSubTask task)
Parser
instance as a task to execure.
task
- The prepared task, ready for execution later.public void addConfiguredConvertor(ConvertorSubTask task)
Convertor
instance as a task to execure.
task
- The prepared task, ready for execution later.public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |