org.dom4j.swing

Class DocumentTreeModel

public class DocumentTreeModel extends DefaultTreeModel

DocumentTreeModel implements a Swing TreeModel for a dom4j XML Document.

Version: $Revision: 1.7 $

Author: James Strachan Jakob Jenkov

Field Summary
protected Documentdocument
The document for this model
Constructor Summary
DocumentTreeModel(Document document)
Method Summary
DocumentgetDocument()
DOCUMENT ME!
voidsetDocument(Document document)
Sets the Document instance that this TreeModel is based on

Field Detail

document

protected Document document
The document for this model

Constructor Detail

DocumentTreeModel

public DocumentTreeModel(Document document)

Method Detail

getDocument

public Document getDocument()
DOCUMENT ME!

Returns: the Document instance that this TreeModel is based on

setDocument

public void setDocument(Document document)
Sets the Document instance that this TreeModel is based on

Parameters: document DOCUMENT ME!

Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge