org.foray.demo.embed
Class DemoXML2PDF
java.lang.Object
org.foray.demo.embed.EmbedDemo
org.foray.demo.embed.DemoXML2PDF
public class DemoXML2PDF
- extends EmbedDemo
This class demonstrates the conversion of an XML file to PDF using
JAXP (XSLT) and FOray (XSL:FO).
|
Method Summary |
void |
convertXML2PDF(File xml,
File xslt,
File pdf)
Demonstration of Conversion from XSL to PDF. |
static void |
main(String[] args)
Command-line interface for this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemoXML2PDF
public DemoXML2PDF()
convertXML2PDF
public void convertXML2PDF(File xml,
File xslt,
File pdf)
throws FOrayException
- Demonstration of Conversion from XSL to PDF.
- Parameters:
xml - The semantic XML input.xslt - The XSLT stylesheet.pdf - The PDF output.
- Throws:
FOrayException - For errors during FOray processing.
main
public static void main(String[] args)
- Command-line interface for this class.
- Parameters:
args - The command-line arguments. None are currently supported.
Copyright © 2017. All rights reserved.