net.dpml.metro.tools
Class TypesTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.dpml.tools.tasks.GenericTask
net.dpml.metro.tools.TypesTask
- All Implemented Interfaces:
- DynamicElementNS
public class TypesTask
- extends GenericTask
- implements DynamicElementNS
Task that handles the construction of catalog of type entries.
- Version:
- 1.2.0
- Author:
- Digital Product Meta Library
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypesTask
public TypesTask()
createType
public TypeBuilder createType()
- Create and return a new type builder.
- Returns:
- the type builder
createDynamicElement
public Object createDynamicElement(String uri,
String name,
String qualified)
- Operation used to construct a custom part type directive.
- Specified by:
createDynamicElement
in interface DynamicElementNS
- Parameters:
uri
- the part handler uriname
- the element namequalified
- the qualified name
- Returns:
- a dynamic type builder
execute
public void execute()
- Task executaion.
- Overrides:
execute
in class Task