|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprojectviewer.persist.NodeHandler
projectviewer.persist.ProjectNodeHandler
public class ProjectNodeHandler
Handler for project nodes.
| Field Summary | |
|---|---|
protected static java.lang.String |
NODE_NAME
|
| Fields inherited from class projectviewer.persist.NodeHandler |
|---|
VCSTATE_ATTR |
| Constructor Summary | |
|---|---|
ProjectNodeHandler()
|
|
| Method Summary | |
|---|---|
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 project node. |
| Methods inherited from class projectviewer.persist.NodeHandler |
|---|
fixPath, startElement, startElement, writeAttr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String NODE_NAME
| Constructor Detail |
|---|
public ProjectNodeHandler()
| Method Detail |
|---|
public 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 NodeHandler
public 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||