org.xmlhammer.gui.output
Class ResultTreeModel

java.lang.Object
  extended by javax.swing.tree.DefaultTreeModel
      extended by org.xmlhammer.gui.output.ResultTreeModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.tree.TreeModel, ResultModel

public class ResultTreeModel
extends javax.swing.tree.DefaultTreeModel
implements ResultModel

The model for the result tree.

Version:
$Revision: 1.23 $, $Date: 2007/07/04 19:42:48 $
Author:
Edwin Dankert
See Also:
Serialized Form

Field Summary
 int fired
           
 int inserted
           
 
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root
 
Fields inherited from interface org.xmlhammer.ResultModel
MESSAGE_TYPE_ERR, MESSAGE_TYPE_OUT
 
Constructor Summary
ResultTreeModel(Output output)
           
ResultTreeModel(Output output, java.net.URI base)
           
 
Method Summary
 void addError(java.net.URI src, org.xml.sax.SAXParseException exception)
           
 void addError(java.net.URI src, javax.xml.transform.TransformerException exception)
           
 void addFatal(java.net.URI src, java.io.IOException exception)
           
 void addFatal(java.net.URI src, org.xml.sax.SAXParseException exception)
           
 void addFatal(java.net.URI src, javax.xml.transform.TransformerException exception)
           
 void addMessage(java.net.URI src, java.lang.String type, java.lang.String value)
           
 void addValid(java.net.URI src)
           
 void addValue(java.net.URI src, java.lang.Object object)
           
 void addWarning(java.net.URI src, org.xml.sax.SAXParseException exception)
           
 void addWarning(java.net.URI src, javax.xml.transform.TransformerException exception)
           
 Output getOutput()
           
 javax.swing.tree.MutableTreeNode resolveDirectory(javax.swing.tree.MutableTreeNode node, java.net.URI base, java.net.URI src)
           
 
Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inserted

public int inserted

fired

public int fired
Constructor Detail

ResultTreeModel

public ResultTreeModel(Output output)

ResultTreeModel

public ResultTreeModel(Output output,
                       java.net.URI base)
Method Detail

addWarning

public void addWarning(java.net.URI src,
                       org.xml.sax.SAXParseException exception)
Specified by:
addWarning in interface ResultModel

addWarning

public void addWarning(java.net.URI src,
                       javax.xml.transform.TransformerException exception)
Specified by:
addWarning in interface ResultModel

addValid

public void addValid(java.net.URI src)
Specified by:
addValid in interface ResultModel

addError

public void addError(java.net.URI src,
                     org.xml.sax.SAXParseException exception)
Specified by:
addError in interface ResultModel

addError

public void addError(java.net.URI src,
                     javax.xml.transform.TransformerException exception)
Specified by:
addError in interface ResultModel

addFatal

public void addFatal(java.net.URI src,
                     org.xml.sax.SAXParseException exception)
Specified by:
addFatal in interface ResultModel

addFatal

public void addFatal(java.net.URI src,
                     javax.xml.transform.TransformerException exception)
Specified by:
addFatal in interface ResultModel

addFatal

public void addFatal(java.net.URI src,
                     java.io.IOException exception)
Specified by:
addFatal in interface ResultModel

addValue

public void addValue(java.net.URI src,
                     java.lang.Object object)
Specified by:
addValue in interface ResultModel

addMessage

public void addMessage(java.net.URI src,
                       java.lang.String type,
                       java.lang.String value)
Specified by:
addMessage in interface ResultModel

getOutput

public Output getOutput()
Specified by:
getOutput in interface ResultModel

resolveDirectory

public javax.swing.tree.MutableTreeNode resolveDirectory(javax.swing.tree.MutableTreeNode node,
                                                         java.net.URI base,
                                                         java.net.URI src)


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.