|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.apps.InputHandler
org.apache.fop.apps.TraxInputHandler
XSLTInputHandler basically takes an xml source and transforms it with an xslt source and the resulting xsl:fo document is input for Fop.
Constructor Summary | |
TraxInputHandler(File xmlfile,
File xsltfile)
|
|
TraxInputHandler(InputSource xmlSource,
InputSource xsltSource)
|
|
TraxInputHandler(String xmlURL,
String xsltURL)
|
Method Summary | |
InputSource |
getInputSource()
Deprecated. |
XMLReader |
getParser()
Deprecated. |
static XMLFilter |
getXMLFilter(File xmlfile,
File xsltfile)
Creates from the transformer an instance of an XMLFilter which then can be used in a chain with the XMLReader passed to Driver. |
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 |
public TraxInputHandler(File xmlfile, File xsltfile) throws FOPException
public TraxInputHandler(String xmlURL, String xsltURL) throws FOPException
public TraxInputHandler(InputSource xmlSource, InputSource xsltSource) throws FOPException
Method Detail |
public InputSource getInputSource()
getInputSource
in class InputHandler
public XMLReader getParser() throws FOPException
getParser
in class InputHandler
FOPException
public static XMLFilter getXMLFilter(File xmlfile, File xsltfile) throws FOPException
xmlfile
- The xmlfile containing the text dataxsltfile
- An xslt stylesheet
FOPException
public void run(Driver driver) throws FOPException
run
in class InputHandler
FOPException
public void setParameter(String name, Object value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |