net.sf.sqs_xml.editor.base.source
クラス DOMTreeSource

java.lang.Object
  拡張net.sf.sqs_xml.editor.base.source.Source
      拡張net.sf.sqs_xml.editor.base.source.DOMTreeSource
直系の既知のサブクラス:
SQSSource

public class DOMTreeSource
extends Source

作成者:
hiroya

コンストラクタの概要
DOMTreeSource()
           
DOMTreeSource(java.io.File file)
           
DOMTreeSource(java.net.URL url, boolean readonly, java.lang.String title)
           
 
メソッドの概要
 org.w3c.dom.Document createDocument(java.io.File file)
           
 org.w3c.dom.Document createDocument(java.io.InputStream stream)
           
 java.io.InputStream createInputStream()
           
 org.w3c.dom.Document getDocument()
           
 javax.swing.text.Document getDocument(org.w3c.dom.Node node)
           
 javax.swing.tree.TreeModel getTreeModel()
           
 javax.swing.undo.UndoManager getUndoManager(org.w3c.dom.Node node)
           
 void initialize()
           
 void initialize(java.io.File file)
           
 void initialize(java.io.InputStream stream)
           
 void putDocument(org.w3c.dom.Node node, javax.swing.text.Document document)
           
 void putUndoManager(org.w3c.dom.Node node, javax.swing.undo.UndoManager undoManager)
           
 
クラス net.sf.sqs_xml.editor.base.source.Source から継承したメソッド
equals, getFile, getTitle, getURL, isDirty, isModified, isReadOnly, lastModified, save, setDirty, setFile, setReadOnly, toString, update
 
クラス java.lang.Object から継承したメソッド
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

DOMTreeSource

public DOMTreeSource()
              throws SourceException

DOMTreeSource

public DOMTreeSource(java.io.File file)
              throws SourceException

DOMTreeSource

public DOMTreeSource(java.net.URL url,
                     boolean readonly,
                     java.lang.String title)
              throws SourceException
メソッドの詳細

initialize

public void initialize()
                throws SourceException
例外:
SourceException

initialize

public void initialize(java.io.File file)
                throws SourceException
例外:
SourceException

initialize

public void initialize(java.io.InputStream stream)
                throws SourceException
定義:
クラス Source 内の initialize
例外:
SourceException

getUndoManager

public javax.swing.undo.UndoManager getUndoManager(org.w3c.dom.Node node)

getDocument

public javax.swing.text.Document getDocument(org.w3c.dom.Node node)

putUndoManager

public void putUndoManager(org.w3c.dom.Node node,
                           javax.swing.undo.UndoManager undoManager)

putDocument

public void putDocument(org.w3c.dom.Node node,
                        javax.swing.text.Document document)

createDocument

public org.w3c.dom.Document createDocument(java.io.File file)
                                    throws javax.xml.parsers.ParserConfigurationException,
                                           org.xml.sax.SAXException,
                                           java.io.IOException
例外:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException

createDocument

public org.w3c.dom.Document createDocument(java.io.InputStream stream)
                                    throws javax.xml.parsers.ParserConfigurationException,
                                           org.xml.sax.SAXException,
                                           java.io.IOException
例外:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException

getDocument

public org.w3c.dom.Document getDocument()

getTreeModel

public javax.swing.tree.TreeModel getTreeModel()

createInputStream

public java.io.InputStream createInputStream()
                                      throws java.io.IOException
定義:
クラス Source 内の createInputStream
例外:
java.io.IOException