public abstract class AntDataLoader extends java.lang.Object implements DataLoader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTE_ANT_TASK
The name of the
Engine attribute that must store the Ant task
object. |
Constructor and Description |
---|
AntDataLoader() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
load(Engine eng,
java.util.List args)
Gets the Ant task object, and invoked
load(Engine, List, Task) . |
protected abstract java.lang.Object |
load(Engine eng,
java.util.List args,
org.apache.tools.ant.Task task)
Override this method to implement your Ant related data loader.
|
public static final java.lang.String ATTRIBUTE_ANT_TASK
Engine
attribute that must store the Ant task
object.public java.lang.Object load(Engine eng, java.util.List args) throws java.lang.Exception
load(Engine, List, Task)
.load
in interface DataLoader
args
- Arguments that the caller specifies for this directive call.
Not null.
The implementation should check if it understands all arguments,
and it should throw java.lang.IllegalArgumentException
if it doesn't.freemarker.template.TemplateModel
, then it
will not be wrapped, as it is already an FTL variable.java.lang.Exception
protected abstract java.lang.Object load(Engine eng, java.util.List args, org.apache.tools.ant.Task task) throws java.lang.Exception
java.lang.Exception