jp.sourceforge.sqs_xml.util
クラス XMLUtil
java.lang.Object
jp.sourceforge.sqs_xml.util.XMLUtil
- public class XMLUtil
- extends java.lang.Object
- 作成者:
- hiroya
メソッドの概要 |
static java.io.InputStream |
createInputStream(org.w3c.dom.Document doc)
|
static java.io.InputStream |
createInputStream(org.w3c.dom.Element node)
|
static javax.xml.parsers.DocumentBuilder |
createParser()
|
static java.lang.String |
createString(org.w3c.dom.Element node)
|
static org.apache.xml.serialize.XMLSerializer |
getSerializer(java.io.OutputStream out)
|
static org.apache.xml.serialize.XMLSerializer |
getSerializer(java.io.Writer writer)
|
static void |
marshal(org.w3c.dom.Document document,
java.io.OutputStream out)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLUtil
public XMLUtil()
createParser
public static javax.xml.parsers.DocumentBuilder createParser()
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
- 例外:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
getSerializer
public static org.apache.xml.serialize.XMLSerializer getSerializer(java.io.OutputStream out)
getSerializer
public static org.apache.xml.serialize.XMLSerializer getSerializer(java.io.Writer writer)
createInputStream
public static java.io.InputStream createInputStream(org.w3c.dom.Document doc)
throws java.io.IOException
- 例外:
java.io.IOException
createInputStream
public static java.io.InputStream createInputStream(org.w3c.dom.Element node)
throws java.io.IOException
- 例外:
java.io.IOException
createString
public static java.lang.String createString(org.w3c.dom.Element node)
marshal
public static void marshal(org.w3c.dom.Document document,
java.io.OutputStream out)
throws javax.xml.parsers.ParserConfigurationException
- 例外:
javax.xml.parsers.ParserConfigurationException