Class DelegatingFragmentContentHandler
- java.lang.Object
-
- org.apache.fop.util.DelegatingContentHandler
-
- org.apache.fop.render.intermediate.DelegatingFragmentContentHandler
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
,org.xml.sax.ext.LexicalHandler
public class DelegatingFragmentContentHandler extends DelegatingContentHandler
This class is aDelegatingContentHandler
subclass which swallows thestartDocument()
andendDocument()
methods. This is useful for handling XML fragments.
-
-
Constructor Summary
Constructors Constructor Description DelegatingFragmentContentHandler(org.xml.sax.ContentHandler delegate)
Main constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endDocument()
void
startDocument()
-
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
-
-
-
-
Method Detail
-
startDocument
public void startDocument() throws org.xml.sax.SAXException
- Specified by:
startDocument
in interfaceorg.xml.sax.ContentHandler
- Overrides:
startDocument
in classDelegatingContentHandler
- Throws:
org.xml.sax.SAXException
-
endDocument
public void endDocument() throws org.xml.sax.SAXException
- Specified by:
endDocument
in interfaceorg.xml.sax.ContentHandler
- Overrides:
endDocument
in classDelegatingContentHandler
- Throws:
org.xml.sax.SAXException
-
-