daoc.editor.model.nodes
Class RootNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bydaoc.editor.model.nodes.ElementNode
          extended bydaoc.editor.model.nodes.RootNode
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class RootNode
extends ElementNode

Special node for the xml root.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
RootNode(org.w3c.dom.Element e)
           
 
Method Summary
 IncludeNode findIncludeFile(java.lang.String filename)
           
 java.lang.String getName()
           
 void init()
           
 void save()
           
 void writeXML(java.io.Writer fout, int indent)
           
 
Methods inherited from class daoc.editor.model.nodes.ElementNode
add, addUpdateListener, compareTo, fireAddedEvent, fireRemoveEvent, fireUpdatedEvent, getEditors, getNodeList, getNodeName, getPopup, insert, remove, removeUpdateListener, toString
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RootNode

public RootNode(org.w3c.dom.Element e)
Method Detail

getName

public java.lang.String getName()

init

public void init()
Specified by:
init in class ElementNode

save

public void save()

writeXML

public void writeXML(java.io.Writer fout,
                     int indent)
              throws java.io.IOException
Specified by:
writeXML in class ElementNode
Throws:
java.io.IOException

findIncludeFile

public IncludeNode findIncludeFile(java.lang.String filename)