org.limy.common.xml
クラス XmlUtils

Package class diagram package XmlUtils
java.lang.Object
  上位を拡張 org.limy.common.xml.XmlUtils

public final class XmlUtils
extends java.lang.Object

XML関連のユーティリティクラスです。


メソッドの概要
static XmlElement parse(java.io.InputStream in)
          XMLをパースしてXMLElementを返します。
static org.w3c.dom.Document parseDoc(java.io.InputStream in)
          XMLをパースしてDOM Documentを返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

parseDoc

public static org.w3c.dom.Document parseDoc(java.io.InputStream in)
                                     throws java.io.IOException
XMLをパースしてDOM Documentを返します。

パラメータ:
in - XML入力ストリーム
戻り値:
DOM Document
例外:
java.io.IOException - I/O例外

parse

public static XmlElement parse(java.io.InputStream in)
                        throws java.io.IOException
XMLをパースしてXMLElementを返します。

パラメータ:
in - XML入力ストリーム
戻り値:
XMLElement
例外:
java.io.IOException - I/O例外