fi.karppinen.xml
Class ContentHandlerEventConsumer

java.lang.Object
  extended by 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

Field Summary
private  ContentHandler ch
           
 
Constructor Summary
ContentHandlerEventConsumer(ContentHandler ch)
           
 
Method Summary
 ContentHandler getContentHandler()
           
 DTDHandler getDTDHandler()
           
 Object getProperty(String id)
           
 void setErrorHandler(ErrorHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ch

private ContentHandler ch
Constructor Detail

ContentHandlerEventConsumer

public ContentHandlerEventConsumer(ContentHandler ch)
Parameters:
ch -
Method Detail

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)