|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.afp.apps.XML2AFP
This class can be used to test the AFP renderer from the command line. An AFP document can be generated using an existing formatted object (FO) or XML can be supplied with an XSLT file to transform the data into an FO that is then used to generate the AFP document.
Constructor Summary | |
XML2AFP()
Default constructor, assumes that input will be valid XSL-FO can can be directly rendered to AFP. |
|
XML2AFP(java.io.File transformFile)
Constructor taking a xslt transform file. |
Method Summary | |
static void |
main(java.lang.String[] args)
The main method for the XML2AFP class. |
void |
process(java.io.File inputFile,
java.io.File outputFile)
Processes the specified input file and places the generated afp document into the specified output file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XML2AFP() throws javax.xml.transform.TransformerException
public XML2AFP(java.io.File transformFile) throws javax.xml.transform.TransformerException
Method Detail |
public static void main(java.lang.String[] args)
args
- Command line arguments as specified in the USAGE string.public void process(java.io.File inputFile, java.io.File outputFile) throws java.io.IOException, javax.xml.transform.TransformerException, org.apache.fop.apps.FOPException
java.io.IOException
javax.xml.transform.TransformerException
org.apache.fop.apps.FOPException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |