com.icl.saxon.output
Class FOPEmitter

java.lang.Object
  |
  +--com.icl.saxon.output.ContentHandlerProxy
        |
        +--com.icl.saxon.output.FOPEmitter
All Implemented Interfaces:
Emitter

public class FOPEmitter
extends ContentHandlerProxy

FOPEmitter: This class acts as a SAXON output emitter that feeds data into James Tauber's FOP (see http://www.jtauber.com/fop).


Fields inherited from class com.icl.saxon.output.ContentHandlerProxy
attributes, characterSet, handler, lexicalHandler, namePool, outputDetails, requireWellFormed, writer
 
Constructor Summary
FOPEmitter()
           
 
Method Summary
 void endDocument()
          End of document processing
 void setWriter(java.io.Writer writer)
          Set the Writer to be used.
 void startDocument()
          Start of document processing
 
Methods inherited from class com.icl.saxon.output.ContentHandlerProxy
characters, comment, endElement, ignorableWhitespace, processingInstruction, setCharacterSet, setDocumentLocator, setEscaping, setIndenting, setLexicalHandler, setNamePool, setOutputDetails, setRequireWellFormed, setUnderlyingContentHandler, setUnparsedEntity, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FOPEmitter

public FOPEmitter()
Method Detail

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
Start of document processing
Overrides:
startDocument in class ContentHandlerProxy

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
End of document processing
Overrides:
endDocument in class ContentHandlerProxy

setWriter

public void setWriter(java.io.Writer writer)
Set the Writer to be used. The writer will already be set up to perform any encoding requested. A writer will always be supplied before startDocument() is called.
Overrides:
setWriter in class ContentHandlerProxy