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:
- org.xml.sax.Locator, javax.xml.transform.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
Fields inherited from interface javax.xml.transform.Result |
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
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 |
Methods inherited from interface org.xml.sax.Locator |
getSystemId |
FOP_RENDERER
public static java.lang.String FOP_RENDERER
FOP_CONFIGURATION
public static java.lang.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 javax.xml.transform.TransformerException
- Start of document processing
- Overrides:
startDocument
in class ContentHandlerProxy
- Throws:
javax.xml.transform.TransformerException
endDocument
public void endDocument()
throws javax.xml.transform.TransformerException
- End of document processing
- Overrides:
endDocument
in class ContentHandlerProxy
- Throws:
javax.xml.transform.TransformerException