org.foray.demo.embed
Class DemoObj2PDF

java.lang.Object
  extended by org.foray.demo.embed.EmbedDemo
      extended by org.foray.demo.embed.DemoObj2PDF

public class DemoObj2PDF
extends EmbedDemo

This class demonstrates the conversion of an arbitrary object file to a PDF using JAXP (XSLT) and FOray (XSL:FO).


Constructor Summary
DemoObj2PDF()
           
 
Method Summary
 void convertProjectTeam2PDF(ProjectTeam team, File xslt, File pdf)
          Demonstration converting the Project Team data to a PDF.
static void main(String[] args)
          The command-line interface to this class.
 
Methods inherited from class org.foray.demo.embed.EmbedDemo
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoObj2PDF

public DemoObj2PDF()
Method Detail

convertProjectTeam2PDF

public void convertProjectTeam2PDF(ProjectTeam team,
                                   File xslt,
                                   File pdf)
                            throws FOrayException
Demonstration converting the Project Team data to a PDF.

Parameters:
team - The team instance whos data will be output.
xslt - The stylesheet to be used in transformation.
pdf - The output file.
Throws:
FOrayException - For errors during FOray processing.

main

public static void main(String[] args)
The command-line interface to this class.

Parameters:
args - The command-line arguments. None are currently supported.


Copyright © 2017. All rights reserved.