de.steeringbehaviors.creator.editor
Class DOMGenerate

java.lang.Object
  extended by de.steeringbehaviors.creator.editor.DOMGenerate

public class DOMGenerate
extends java.lang.Object

Class DOMGenerate Generates a DOM Document of the SteeringBehaviors object model


Field Summary
protected  org.w3c.dom.Document m_document
          Document object
protected  org.w3c.dom.Element m_item
          Element object
protected  org.w3c.dom.Element m_root
          Root Element
protected  SteeringTreeNode m_stn
          Actual SteeringTreeNode
protected  javax.swing.tree.DefaultTreeModel m_treeModel
          TreeModel of the JTree
 
Constructor Summary
DOMGenerate()
           
 
Method Summary
 org.w3c.dom.Document createDOM(javax.swing.tree.DefaultTreeModel treeModel)
          Creates a DOM from the specified TreeModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_document

protected org.w3c.dom.Document m_document
Document object


m_item

protected org.w3c.dom.Element m_item
Element object


m_root

protected org.w3c.dom.Element m_root
Root Element


m_stn

protected SteeringTreeNode m_stn
Actual SteeringTreeNode


m_treeModel

protected javax.swing.tree.DefaultTreeModel m_treeModel
TreeModel of the JTree

Constructor Detail

DOMGenerate

public DOMGenerate()
Method Detail

createDOM

public org.w3c.dom.Document createDOM(javax.swing.tree.DefaultTreeModel treeModel)
Creates a DOM from the specified TreeModel

Parameters:
treeModel - TreeModel of the object model
Returns:
DOM Document