|
|||||||||||
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 net.dpml.tools.tasks.GenericTask net.dpml.metro.tools.PartsDataType
A datatype that enables custom part builders.
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 | |
PartsDataType(Task owner)
Creation of a new parts data type. |
Method Summary | |
ComponentBuilderTask |
createComponent()
Create a new component builder task. |
Object |
createDynamicElement(String uri,
String name,
String qualified)
Operation used to construct a custom part type directive. |
PartDataType |
createPart()
Create a new part datatype. |
EntryDataType |
createValue()
Create a new constructed value builder. |
PartReferenceBuilder[] |
getPartBuilders()
Return the set of parts contained within this container. |
PartReference[] |
getParts(ClassLoader classloader,
Type type)
Return the set of parts contained within this parts collection. |
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 |
execute, 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 |
public PartsDataType(Task owner)
owner
- the owning taskMethod Detail |
public ComponentBuilderTask createComponent()
public PartDataType createPart()
public EntryDataType createValue()
public Object createDynamicElement(String uri, String name, String qualified)
createDynamicElement
in interface DynamicElementNS
uri
- the part handler uriname
- the element namequalified
- the qualified name
public PartReferenceBuilder[] getPartBuilders()
public PartReference[] getParts(ClassLoader classloader, Type type) throws IntrospectionException, IOException, ClassNotFoundException
classloader
- the runtime classloadertype
- the component type that references are relative to
IntrospectionException
- if a class introspection error occurs
IOException
- if an I/O error occurs
ClassNotFoundException
- if a part class cannot be found
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |