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
Constructors -
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, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDelegatingContentHandler- Throws:
SAXException
-
endDocument
- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classDelegatingContentHandler- Throws:
SAXException
-