com.bea.document.internal
Class ClasspathEntityResolver
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.bea.document.internal.ClasspathEntityResolver
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- public class ClasspathEntityResolver
- extends DefaultHandler
EntityResolver that resolves system id first as specified, then on the
classpath if not found.
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
ClasspathEntityResolver
public ClasspathEntityResolver()
registerPublicIdAsResource
public void registerPublicIdAsResource(String publicId,
String resourceName,
ClassLoader classLoader)
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException
- Throws:
SAXException