org.apache.fop.apps
Class XSLTInputHandler

java.lang.Object
  |
  +--org.apache.fop.apps.InputHandler
        |
        +--org.apache.fop.apps.XSLTInputHandler

public class XSLTInputHandler
extends InputHandler

XSLTInputHandler basically takes an xmlfile and transforms it with an xsltfile and the resulting xsl:fo document is input for Fop.


Constructor Summary
XSLTInputHandler(java.io.File xmlfile, java.io.File xsltfile)
           
 
Method Summary
 org.xml.sax.InputSource getInputSource()
          overwrites the method of the super class to return the xmlfile
 org.xml.sax.XMLReader getParser()
          This looks to see if the Trax api is supported and uses that to get an XMLFilter.
 
Methods inherited from class org.apache.fop.apps.InputHandler
createParser, fileInputSource, urlInputSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLTInputHandler

public XSLTInputHandler(java.io.File xmlfile,
                        java.io.File xsltfile)
Method Detail

getInputSource

public org.xml.sax.InputSource getInputSource()
overwrites the method of the super class to return the xmlfile
Overrides:
getInputSource in class InputHandler

getParser

public org.xml.sax.XMLReader getParser()
                                throws FOPException
This looks to see if the Trax api is supported and uses that to get an XMLFilter. Otherwise, it falls back to using DOM documents
Overrides:
getParser in class InputHandler


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.