org.exolab.castor.util
public class DTDResolver extends Object implements EntityResolver
The following DTD and XML schema are supported:
Thie resolver can resolve both public and system identifiers, and will return an input stream into a cached resource in the Castor JAR.
This resolver can be used as wrapper to another entity resolver. For example, if a resolver is used for external entities in the mapping file, construct a new resolver using the {@link #DTDResolver(EntityResolver)} constructor.
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:04 $
Nested Class Summary | |
---|---|
static class | DTDResolver.DTDInfo
Holds information about a given DTD of XML Schema. |
Constructor Summary | |
---|---|
DTDResolver(EntityResolver resolver)
Constructs a new DTD resolver. | |
DTDResolver()
Constructs a new DTD resolver. |
Method Summary | |
---|---|
URL | getBaseURL() |
InputSource | resolveEntity(String publicId, String systemId) |
void | setBaseURL(URL baseUrl) |