|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object org.simBio.sim.dm.util.DOMHandler
public class DOMHandler
DOMツリーを扱うクラス。
コンストラクタの概要 | |
---|---|
DOMHandler()
|
メソッドの概要 | |
---|---|
static org.w3c.dom.Document |
getCapsuledDocument(org.w3c.dom.Node node)
Adding a Node to a new instance of DOM Document. |
static java.io.InputStream |
getCapsuledInputStream(org.w3c.dom.Node node)
Adding a Node to a new instance of DOM Document and return document as input stream. |
static java.io.InputStream |
getDocumentAsInputStream(org.w3c.dom.Node node)
Get document as input stream. |
static java.io.BufferedReader |
getDocumentAsReader(org.w3c.dom.Node node)
Get document as buffered reader. |
static org.w3c.dom.Document |
newInstance()
Create a new instance of DOM Document. |
static org.w3c.dom.Document |
newInstance(java.lang.String qualifiedName)
Create a new instance of DOM Document. |
static org.w3c.dom.Document |
parseXML(java.io.InputStream input)
Parse XML-file. |
static void |
writeXML(org.w3c.dom.Document doc,
java.io.OutputStream output)
Write XML-file. |
static void |
writeXML(org.w3c.dom.Node node,
java.io.OutputStream output)
Write XML-file. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public DOMHandler()
メソッドの詳細 |
---|
public static org.w3c.dom.Document parseXML(java.io.InputStream input)
input
- XML-file as InputStream
java.lang.RuntimeException
- if error parsing XMLpublic static void writeXML(org.w3c.dom.Document doc, java.io.OutputStream output)
doc
- DOM Documentoutput
- XML-file as OutputStreampublic static org.w3c.dom.Document newInstance()
public static org.w3c.dom.Document newInstance(java.lang.String qualifiedName)
qualifiedName
- of the DOM Document
public static org.w3c.dom.Document getCapsuledDocument(org.w3c.dom.Node node)
node
-
public static void writeXML(org.w3c.dom.Node node, java.io.OutputStream output)
node
- output
- XML-file as OutputStreampublic static java.io.BufferedReader getDocumentAsReader(org.w3c.dom.Node node)
node
-
public static java.io.InputStream getDocumentAsInputStream(org.w3c.dom.Node node)
node
-
public static java.io.InputStream getCapsuledInputStream(org.w3c.dom.Node node)
node
-
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |