com.sodius.mdw.core.util.io
Class XHTMLDefaultHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.sodius.mdw.core.util.io.XHTMLDefaultHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
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.
- Since:
- MDWorkbench 3.1.0
| 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XHTMLDefaultHandler
public XHTMLDefaultHandler()
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Resolves an XHTML entity using a local cached DTD.
- Specified by:
resolveEntity in interface EntityResolver- Overrides:
resolveEntity in class DefaultHandler
- Throws:
SAXException
IOException