Class ProxyContentHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.jackrabbit.commons.xml.ProxyContentHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Direct Known Subclasses:
XmlnsContentHandler

public class ProxyContentHandler extends DefaultHandler
A proxy content handler that passes all SAX events as-is to the proxied handler.

As a convenience this class inherits the DefaultHandler class instead of just the ContentHandler interface. This makes it possible to use this class as an adapter when using methods like SAXParser.parse(String, DefaultHandler) that expect a DefaultHandler instance instead of a ContentHandler.