1 package com.jclark.xml.parse;
2 
3 import java.net.URL;
4 import java.io.IOException;
5 
6 /**
7  * This interface is used by the parser to access external entities.
8  * @see Parser
9  * @version $Revision: 1.4 $ $Date: 1998/02/17 04:20:32 $
10  */
11 public interface EntityManager {
12   /**
13    * Opens an external entity.
14    * @param systemId the system identifier specified in the entity declaration
15    * @param baseURL the base URL relative to which the system identifier
16    * should be resolved; null if no base URL is available
17    * @param publicId the public identifier specified in the entity declaration;
18    * null if no public identifier was specified
19    */
open(String systemId, URL baseURL, String publicId)20   OpenEntity open(String systemId, URL baseURL, String publicId) throws IOException;
21 }
22