com.icl.saxon.fop

Class FOPEmitter

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

Nested Class Summary

Field Summary

static String
FOP_CONFIGURATION
static String
FOP_RENDERER

Fields inherited from class com.icl.saxon.output.ContentHandlerProxy

handler, lexicalHandler, locator, requireWellFormed

Fields inherited from class com.icl.saxon.output.Emitter

locator, namePool, outputProperties, outputStream, systemId, writer

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, endDocument, endElement, getColumnNumber, getLineNumber, getPublicId, notifyNotWellFormed, processingInstruction, setDocumentLocator, setEscaping, setLexicalHandler, setRequireWellFormed, setUnderlyingContentHandler, startDocument, startElement

Methods inherited from class com.icl.saxon.output.Emitter

characters, comment, endDocument, endElement, getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, processingInstruction, setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setOutputStream, setSystemId, setUnparsedEntity, setWriter, startDocument, startElement, usesWriter

Field Details

FOP_CONFIGURATION

public static String FOP_CONFIGURATION


FOP_RENDERER

public static String FOP_RENDERER

Method Details

endDocument

public void endDocument()
            throws TransformerException
End of document processing
Overrides:
endDocument in interface ContentHandlerProxy


startDocument

public void startDocument()
            throws TransformerException
Start of document processing
Overrides:
startDocument in interface ContentHandlerProxy


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 interface Emitter