net.dpml.metro.tools
Class TypesTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bynet.dpml.tools.tasks.GenericTask
              extended bynet.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.1.0
Author:
Digital Product Meta Library

Field Summary
 
Fields inherited from class net.dpml.tools.tasks.GenericTask
ASC_EXT, GPG_EXE_KEY, MD5_EXT
 
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
TypesTask()
           
 
Method Summary
 Object createDynamicElement(String uri, String name, String qualified)
          Operation used to construct a custom part type directive.
 TypeBuilder createType()
          Create and return a new type builder.
 void execute()
          Task executaion.
 
Methods inherited from class net.dpml.tools.tasks.GenericTask
asc, checksum, copy, deleteDir, getContext, getLibrary, getResource, init, isInitialized, mkDir
 
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 org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypesTask

public TypesTask()
Method Detail

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 uri
name - the element name
qualified - the qualified name
Returns:
a dynamic type builder

execute

public void execute()
Task executaion.