com.sun.xml.bind.serializer
Class StartEndDocStripper

java.lang.Object
  extended by org.xml.sax.helpers.XMLFilterImpl
      extended by com.sun.xml.bind.serializer.StartEndDocStripper
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 final class StartEndDocStripper
extends org.xml.sax.helpers.XMLFilterImpl

Removes startDocument() and endDocument() events from the SAX stream.

Since:
JAXB 2.0

Constructor Summary
StartEndDocStripper(org.xml.sax.ContentHandler child)
           
 
Method Summary
 void endDocument()
           
 void startDocument()
           
 
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, 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

StartEndDocStripper

public StartEndDocStripper(org.xml.sax.ContentHandler child)
Method Detail

startDocument

public void startDocument()
Specified by:
startDocument in interface org.xml.sax.ContentHandler
Overrides:
startDocument in class org.xml.sax.helpers.XMLFilterImpl

endDocument

public void endDocument()
Specified by:
endDocument in interface org.xml.sax.ContentHandler
Overrides:
endDocument in class org.xml.sax.helpers.XMLFilterImpl