|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprojectviewer.persist.NodeHandler
projectviewer.persist.VFSFileNodeHandler
Handler for file nodes.
Constructor Summary | |
VFSFileNodeHandler()
|
Method Summary | |
VPTNode |
createNode(org.xml.sax.Attributes attrs,
VPTProject project)
Loads a VFSFile from the cofiguration. |
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 VFS file node to the config file. |
Methods inherited from class projectviewer.persist.NodeHandler |
startElement, startElement, translatePath, writeAttr |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VFSFileNodeHandler()
Method Detail |
public java.lang.String getNodeName()
getNodeName
in class NodeHandler
public java.lang.Class getNodeClass()
getNodeClass
in class NodeHandler
public boolean isChild()
isChild
in class NodeHandler
public boolean hasChildren()
hasChildren
in class NodeHandler
public VPTNode createNode(org.xml.sax.Attributes attrs, VPTProject project)
createNode
in class NodeHandler
attrs
- 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 NodeHandler
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |