com.infoteria.asteria.util.xml
クラス DirectoryEntityResolver

java.lang.Object
  |
  +--com.infoteria.asteria.util.xml.DirectoryEntityResolver
すべての実装インタフェース:
Cloneable, EntityResolver

public class DirectoryEntityResolver
extends Object
implements EntityResolver, Cloneable

EntityResolverの簡易実装
指定のディレクトリにSystemIdに指定された存在するものとしてEntityを解決します。


コンストラクタの概要
DirectoryEntityResolver(File dtdpath)
           
DirectoryEntityResolver(String dtdpath)
           
 
メソッドの概要
 void addDirectory(File dir)
          ディレクトリを追加します。
 Object clone()
           
 InputSource resolveEntity(String publicId, String systemId)
           
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DirectoryEntityResolver

public DirectoryEntityResolver(String dtdpath)

DirectoryEntityResolver

public DirectoryEntityResolver(File dtdpath)
メソッドの詳細

addDirectory

public void addDirectory(File dir)
ディレクトリを追加します。

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException,
                                 IOException
定義:
インタフェース EntityResolver 内の resolveEntity

clone

public Object clone()
オーバーライド:
クラス Object 内の clone