public class DirectoryNodeHandler extends NodeHandler
VCSTATE_ATTR| Constructor and Description |
|---|
DirectoryNodeHandler() |
| Modifier and Type | Method and Description |
|---|---|
VPTNode |
createNode(org.xml.sax.Attributes attrs,
VPTProject project)
Instantiates a VPTNode based on the information given in the attribute
list.
|
java.lang.Class |
getNodeClass()
Returns the class of the nodes that should be delegated to this handler
when saving node data to the config file.
|
java.lang.String |
getNodeName()
Returns the name of the nodes that should be delegated to this handler
when loading configuration data.
|
boolean |
hasChildren()
Returns whether the node(s) handled by this handler are expected to
have children or not.
|
boolean |
isChild()
Returns whether the node is a child of nome other node or not.
|
void |
saveNode(VPTNode node,
java.io.Writer out)
Saves a VPTDirectory node.
|
fixPath, startElement, startElement, writeAttrpublic java.lang.String getNodeName()
getNodeName in class NodeHandlerpublic java.lang.Class getNodeClass()
getNodeClass in class NodeHandlerpublic boolean isChild()
isChild in class NodeHandlerpublic boolean hasChildren()
hasChildren in class NodeHandlerpublic VPTNode createNode(org.xml.sax.Attributes attrs, VPTProject project)
createNode in class NodeHandlerattrs - The attributes read from the config file.project - The project that holds this node.public void saveNode(VPTNode node, java.io.Writer out) throws java.io.IOException
saveNode in class NodeHandlerjava.io.IOException