fi.karppinen.xml
Class ContentHandlerEventConsumer
java.lang.Object
fi.karppinen.xml.ContentHandlerEventConsumer
- All Implemented Interfaces:
- gnu.xml.pipeline.EventConsumer
public class ContentHandlerEventConsumer
- extends Object
- implements gnu.xml.pipeline.EventConsumer
An adapter for continuing a GNU JAXP-style pipeline into a row ContentHandler
.
- Version:
- $Id: ContentHandlerEventConsumer.java,v 1.1 2006/10/30 19:57:09 hsivonen Exp $
- Author:
- hsivonen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ch
private ContentHandler ch
ContentHandlerEventConsumer
public ContentHandlerEventConsumer(ContentHandler ch)
- Parameters:
ch
-
getContentHandler
public ContentHandler getContentHandler()
- Specified by:
getContentHandler
in interface gnu.xml.pipeline.EventConsumer
- See Also:
EventConsumer.getContentHandler()
getDTDHandler
public DTDHandler getDTDHandler()
- Specified by:
getDTDHandler
in interface gnu.xml.pipeline.EventConsumer
- See Also:
EventConsumer.getDTDHandler()
getProperty
public Object getProperty(String id)
throws SAXNotRecognizedException
- Specified by:
getProperty
in interface gnu.xml.pipeline.EventConsumer
- Throws:
SAXNotRecognizedException
- See Also:
EventConsumer.getProperty(java.lang.String)
setErrorHandler
public void setErrorHandler(ErrorHandler handler)
- Specified by:
setErrorHandler
in interface gnu.xml.pipeline.EventConsumer
- See Also:
EventConsumer.setErrorHandler(org.xml.sax.ErrorHandler)