com.sun.xml.bind.serializer
Class StartEndDocStripper
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
com.sun.xml.bind.serializer.StartEndDocStripper
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, XMLFilter, XMLReader
public final class StartEndDocStripper
- extends XMLFilterImpl
Removes startDocument() and endDocument() events
from the SAX stream.
- Since:
- JAXB 2.0
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
| 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 |
StartEndDocStripper
public StartEndDocStripper(ContentHandler child)
startDocument
public void startDocument()
- Specified by:
startDocument in interface ContentHandler- Overrides:
startDocument in class XMLFilterImpl
endDocument
public void endDocument()
- Specified by:
endDocument in interface ContentHandler- Overrides:
endDocument in class XMLFilterImpl
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.