01: package com.jclark.xml.parse;
02:
03: import java.net.URL;
04: import java.io.IOException;
05:
06: /**
07: * This interface is used by the parser to access external entities.
08: * @see Parser
09: * @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: */
20: OpenEntity open(String systemId, URL baseURL, String publicId)
21: throws IOException;
22: }
|