org.xmlecho.palomar.core
Class NullDocEventXMLFilter

java.lang.Object
  extended byorg.xml.sax.helpers.XMLFilterImpl
      extended byorg.xmlecho.palomar.core.ECHORequestReaderAdapter
          extended byorg.xmlecho.palomar.core.NullDocEventXMLFilter
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, org.xml.sax.XMLFilter, org.xml.sax.XMLReader

public class NullDocEventXMLFilter
extends ECHORequestReaderAdapter

provides a SAX 2 XMLReader interface on top of an ECHO Request element, while filtering out start/end document events


Constructor Summary
NullDocEventXMLFilter(ECHOContext ctxt, ECHORequest req)
           
 
Method Summary
 void endDocument()
          does not propogate the SAX endDocument event to the downstream consumer
 void startDocument()
          does not propogate the SAX startDocument event to the downstream consumer
 
Methods inherited from class org.xmlecho.palomar.core.ECHORequestReaderAdapter
getSendDocEvents, parse, setFeature, setSendDocEvents
 
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setParent, setProperty, skippedEntity, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullDocEventXMLFilter

public NullDocEventXMLFilter(ECHOContext ctxt,
                             ECHORequest req)
Method Detail

startDocument

public void startDocument()
does not propogate the SAX startDocument event to the downstream consumer


endDocument

public void endDocument()
does not propogate the SAX endDocument event to the downstream consumer