修飾子 | コンストラクタと説明 |
---|---|
protected |
DOMBuilder() |
protected |
DOMBuilder(Document doc) |
修飾子とタイプ | メソッドと説明 |
---|---|
Document |
getDocumet()
ドキュメントノードの取得。
|
Node |
getRootNode()
ルートノードの取得。
|
static DOMInfo |
newDocument(String elementName)
DOMを新規に作成します。
|
static DOMInfo |
newDocument(String elementName,
EntityResolver resolver)
DOMを新規に作成します。
|
static DOMInfo |
newDocument(String elementName,
String publicId,
String systemId)
DOMを新規に作成します。
|
static DOMInfo |
newDocument(String elementName,
String publicId,
String systemId,
EntityResolver resolver)
DOMを新規に作成します。
|
static DOMInfo |
newInstance(Document doc)
ドキュメントからDOM情報を取得します。
|
static DOMInfo |
newInstance(File file)
ファイルクラスからXMLを解析してDOM情報を作成します。
|
static DOMInfo |
newInstance(File file,
EntityResolver resolver)
ファイルクラスからXMLを解析してDOM情報を作成します。
|
static DOMInfo |
newInstance(InputStream stream)
ストリームからXMLを解析してDOM情報を作成します。
|
static DOMInfo |
newInstance(InputStream stream,
EntityResolver resolver)
ストリームからXMLを解析してDOM情報を作成します。
|
static DOMInfo |
newInstance(String path)
ファイルからXMLを解析してDOM情報を作成します。
|
static DOMInfo |
newInstance(String path,
EntityResolver resolver)
ファイルからXMLを解析してDOM情報を作成します。
|
protected DOMBuilder()
protected DOMBuilder(Document doc)
public static DOMInfo newDocument(String elementName) throws IOException, SAXException
elementName
- ルートノードの名前IOException
SAXException
public static DOMInfo newDocument(String elementName, EntityResolver resolver) throws IOException, SAXException
elementName
- ルートノードの名前resolver
- エンティティリゾルバIOException
SAXException
public static DOMInfo newDocument(String elementName, String publicId, String systemId) throws IOException, SAXException
elementName
- ルートノードの名前publicId
- パブリックIDsystemId
- システムIDIOException
SAXException
public static DOMInfo newDocument(String elementName, String publicId, String systemId, EntityResolver resolver) throws IOException, SAXException
elementName
- ルートノードの名前publicId
- パブリックIDsystemId
- システムIDresolver
- エンティティリゾルバIOException
SAXException
public static DOMInfo newInstance(Document doc)
doc
- ドキュメントノードpublic static DOMInfo newInstance(String path) throws IOException, SAXException
path
- 解析を行うXMLファイルののフルパスIOException
SAXException
public static DOMInfo newInstance(String path, EntityResolver resolver) throws IOException, SAXException
path
- 解析を行うXMLファイルののフルパスresolver
- エンティティリゾルバIOException
SAXException
public static DOMInfo newInstance(File file) throws IOException, SAXException
file
- ファイルクラスIOException
SAXException
public static DOMInfo newInstance(File file, EntityResolver resolver) throws IOException, SAXException
file
- ファイルクラスresolver
- エンティティリゾルバIOException
SAXException
public static DOMInfo newInstance(InputStream stream) throws IOException, SAXException
stream
- ストリームIOException
SAXException
public static DOMInfo newInstance(InputStream stream, EntityResolver resolver) throws IOException, SAXException
stream
- ストリームresolver
- エンティティリゾルバIOException
SAXException
public Document getDocumet()
getDocumet
インタフェース内 DOMInfo
DOMInfo.getDocumet()
public Node getRootNode()
getRootNode
インタフェース内 DOMInfo
DOMInfo.getRootNode()
Copyright © 2012 NTT DATA INTRAMART CORPORATION