public class XHTMLDefaultHandler extends DefaultHandler
Default base class for XHTML stream handlers. This handler will resolve XHTML entities using a local cached DTD. This enables to parse XHTML streams without requiring an access to the network.
Clients may subclass this class.
Constructor and Description |
---|
XHTMLDefaultHandler() |
Modifier and Type | Method and Description |
---|---|
InputSource |
resolveEntity(String publicId,
String systemId)
Resolves an XHTML entity using a local cached DTD.
|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity
in interface EntityResolver
resolveEntity
in class DefaultHandler
SAXException
IOException