public interface DocumentLoader
Document
SE をロードするための戦略インターフェース。DefaultDocumentLoader
修飾子と型 | メソッドと説明 |
---|---|
DocumentSE | loadDocument(InputSourceSE inputSource, EntityResolverSE entityResolver, ErrorHandlerSE errorHandler, int validationMode, boolean namespaceAware) 提供されている source SE から document SE をロードします。 |
DocumentSE loadDocument(InputSourceSE inputSource, EntityResolverSE entityResolver, ErrorHandlerSE errorHandler, int validationMode, boolean namespaceAware) throws ExceptionSE
source
SE から document
SE をロードします。inputSource
- ロードされるドキュメントのソース entityResolver
- エンティティを解決するために使用されるリゾルバー errorHandler
- ドキュメントのロード中にエラーを報告するために使用されます validationMode
- 検証の型 DTD
または XSD
)namespaceAware
- XML 名前空間のサポートを提供する場合は true
document
SEExceptionSE
- エラーが発生した場合