|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.solesuite.team.xpriori.XMLUtils
public class XMLUtils
DOM関連ユーティリティ関数クラス
コンストラクタの概要 | |
---|---|
XMLUtils()
|
メソッドの概要 | |
---|---|
static javax.xml.parsers.DocumentBuilder |
getDocumentBuilder()
JAXP DocumentBuilder呼び出し |
static org.w3c.dom.Document |
loadXMLFromFile(java.lang.String xmlFileName)
ファイルからDOM Documentを取得 |
static org.w3c.dom.Document |
loadXMLFromString(java.lang.String xmlData)
文字列からDOM Documentを取得 |
static void |
removeBlankNode(org.w3c.dom.Node node)
DOM Nodeから空ノードの削除 |
static java.lang.String |
writeXML(org.w3c.dom.Node node)
JAXPを使ったDOM Node→String変換 |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public XMLUtils()
メソッドの詳細 |
---|
public static javax.xml.parsers.DocumentBuilder getDocumentBuilder()
public static org.w3c.dom.Document loadXMLFromFile(java.lang.String xmlFileName)
xmlFileName
- XMLファイル名
public static org.w3c.dom.Document loadXMLFromString(java.lang.String xmlData)
xmlData
- XML文字列
public static void removeBlankNode(org.w3c.dom.Node node)
public static java.lang.String writeXML(org.w3c.dom.Node node)
node
- DOM Node
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |