public class EmbeddedContentHandler extends ContentHandlerDecorator
startDocument()
and endDocument()
events from reaching the decorated handler.
This is useful when you want to direct the results of parsing multiple
different XML documents into a single target document without worrying
about the startDocument()
and endDocument()
methods
being called more than once.Constructor and Description |
---|
EmbeddedContentHandler(org.xml.sax.ContentHandler handler)
Created a decorator that prevents the given handler from
receiving
startDocument() and endDocument()
events. |
Modifier and Type | Method and Description |
---|---|
void |
endDocument()
Ignored.
|
void |
startDocument()
Ignored.
|
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMapping, toString
public EmbeddedContentHandler(org.xml.sax.ContentHandler handler)
startDocument()
and endDocument()
events.handler
- the content handler to be decoratedpublic void startDocument()
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class ContentHandlerDecorator
public void endDocument()
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class ContentHandlerDecorator
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"