|
|||||||||||
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(java.io.File xmlfile,
java.io.File xsltfile)
|
|
TraxInputHandler(org.xml.sax.InputSource xmlSource,
org.xml.sax.InputSource xsltSource)
|
|
TraxInputHandler(java.lang.String xmlURL,
java.lang.String xsltURL)
|
Method Summary | |
org.xml.sax.InputSource |
getInputSource()
Deprecated. |
org.xml.sax.XMLReader |
getParser()
Deprecated. |
static org.xml.sax.XMLFilter |
getXMLFilter(java.io.File xmlfile,
java.io.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(java.lang.String name,
java.lang.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(java.io.File xmlfile, java.io.File xsltfile) throws FOPException
public TraxInputHandler(java.lang.String xmlURL, java.lang.String xsltURL) throws FOPException
public TraxInputHandler(org.xml.sax.InputSource xmlSource, org.xml.sax.InputSource xsltSource) throws FOPException
Method Detail |
public org.xml.sax.InputSource getInputSource()
getInputSource
in class InputHandler
public org.xml.sax.XMLReader getParser() throws FOPException
getParser
in class InputHandler
FOPException
public static org.xml.sax.XMLFilter getXMLFilter(java.io.File xmlfile, java.io.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(java.lang.String name, java.lang.Object value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |