Class DelegatingFragmentContentHandler
java.lang.Object
org.apache.fop.util.DelegatingContentHandler
org.apache.fop.render.intermediate.DelegatingFragmentContentHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
,LexicalHandler
This class is a
DelegatingContentHandler
subclass which swallows the
startDocument()
and endDocument()
methods. This is useful for handling
XML fragments.-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.fop.util.DelegatingContentHandler
characters, comment, endCDATA, endDTD, endElement, endEntity, endPrefixMapping, error, fatalError, getDelegateContentHandler, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDelegateContentHandler, setDelegateDTDHandler, setDelegateEntityResolver, setDelegateErrorHandler, setDelegateLexicalHandler, setDocumentLocator, skippedEntity, startCDATA, startDTD, startElement, startEntity, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
DelegatingFragmentContentHandler
Main constructor- Parameters:
delegate
- the content handler to delegate the SAX events to
-
-
Method Details
-
startDocument
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDelegatingContentHandler
- Throws:
SAXException
-
endDocument
- Specified by:
endDocument
in interfaceContentHandler
- Overrides:
endDocument
in classDelegatingContentHandler
- Throws:
SAXException
-