net.dpml.transit.tools
Class NodeTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.dpml.transit.tools.NodeTask
- public class NodeTask
- extends Task
Task supports the creation of preference as readable xml files.
- Version:
- 1.0.0
- Author:
- The Digital Product Meta Library
Methods inherited from class org.apache.tools.ant.Task |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, 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 |
NodeTask
public NodeTask()
setName
public void setName(String name)
- Set the preference node name.
- Parameters:
name
- the node name
createNode
public NodeTask createNode()
- Create and return a new nested node.
- Returns:
- the new node
createEntry
public NodeTask.EntryTask createEntry()
- Create and return a new attribute entry.
- Returns:
- the new attribute