com.icl.saxon.fop
Class FOPEmitter
java.lang.Object
com.icl.saxon.output.Emitter
com.icl.saxon.output.ContentHandlerProxy
com.icl.saxon.fop.FOPEmitter
- All Implemented Interfaces:
- Locator, Result
- public class FOPEmitter
- extends ContentHandlerProxy
FOPEmitter: This class acts as a SAXON output emitter that feeds data into Apache
FOP (see http://xml.apache.org/fop).
March 2001: repackaged into a new package, com.icl.saxon.fop, and excluded from the
JAR file, to avoid problems with external references. The class is now loaded
dynamically when required.
Sept 2001: changed to cope with the latest FOP API changes in FOP 0.20.1
Method Summary |
void |
endDocument()
End of document processing |
void |
startDocument()
Start of document processing |
boolean |
usesWriter()
Determine whether the Emitter wants a Writer for character output or
an OutputStream for binary output: FOPEmitter wants an OutputStream |
Methods inherited from class com.icl.saxon.output.ContentHandlerProxy |
characters, comment, endElement, getColumnNumber, getLineNumber, getPublicId, notifyNotWellFormed, processingInstruction, setDocumentLocator, setEscaping, setLexicalHandler, setRequireWellFormed, setUnderlyingContentHandler, startElement |
Methods inherited from class com.icl.saxon.output.Emitter |
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setNamePool, setOutputProperties, setOutputStream, setSystemId, setUnparsedEntity, setWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FOP_RENDERER
public static String FOP_RENDERER
FOP_CONFIGURATION
public static String FOP_CONFIGURATION
FOPEmitter
public FOPEmitter()
usesWriter
public boolean usesWriter()
- Determine whether the Emitter wants a Writer for character output or
an OutputStream for binary output: FOPEmitter wants an OutputStream
- Overrides:
usesWriter
in class Emitter
startDocument
public void startDocument()
throws TransformerException
- Start of document processing
- Overrides:
startDocument
in class ContentHandlerProxy
- Throws:
TransformerException
endDocument
public void endDocument()
throws TransformerException
- End of document processing
- Overrides:
endDocument
in class ContentHandlerProxy
- Throws:
TransformerException