Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`ClasspathEntityResolver()`

Method Summary
`void` | `registerPublicIdAsResource(String publicId, String resourceName, ClassLoader classLoader)`
`InputSource` | `resolveEntity(String publicId, String systemId)`

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`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ClasspathEntityResolver

    public ClasspathEntityResolver()

Method Detail

### registerPublicIdAsResource

    public void registerPublicIdAsResource(String publicId,
                                           String resourceName,
                                           ClassLoader classLoader)

### resolveEntity

    public InputSource resolveEntity(String publicId,
                                     String systemId)
                              throws SAXException

  Throws:
    `SAXException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD