org.apache.fop.apps
Class XSLTInputHandler

java.lang.Object
  extended byorg.apache.fop.apps.InputHandler
      extended byorg.apache.fop.apps.XSLTInputHandler

public class XSLTInputHandler
extends InputHandler

XSLTInputHandler takes an XML input, transforms it with XSLT and provides the resulting xsl:fo document as input for the FOP driver. Use TraxInputHandler instead.


Constructor Summary
XSLTInputHandler(File xmlfile, File xsltfile)
           
XSLTInputHandler(InputSource xmlSource, InputSource xsltSource)
           
XSLTInputHandler(String xmlURL, String xsltURL)
           
 
Method Summary
 InputSource getInputSource()
          Deprecated.  
 XMLReader getParser()
          Deprecated.  
 void run(Driver driver)
           
 void setParameter(String name, Object value)
           
 
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(File xmlfile,
                        File xsltfile)
                 throws FOPException

XSLTInputHandler

public XSLTInputHandler(String xmlURL,
                        String xsltURL)
                 throws FOPException

XSLTInputHandler

public XSLTInputHandler(InputSource xmlSource,
                        InputSource xsltSource)
                 throws FOPException
Method Detail

getInputSource

public InputSource getInputSource()
Deprecated.  

Get the InputSource. Use TraxInputHandler run(Driver driver) instead.

Specified by:
getInputSource in class InputHandler

getParser

public XMLReader getParser()
                    throws FOPException
Deprecated.  

Get the parser, actually an XML filter. Use TraxInputHandler run(Driver driver) instead.

Specified by:
getParser in class InputHandler
Throws:
FOPException

run

public void run(Driver driver)
         throws FOPException
Specified by:
run in class InputHandler
Throws:
FOPException

setParameter

public void setParameter(String name,
                         Object value)


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.