org.argoprint
Class ArgoPrint

java.lang.Object
  extended by org.argoprint.ArgoPrint

public class ArgoPrint
extends java.lang.Object

Provides functionality to the UI.


Constructor Summary
ArgoPrint()
           
 
Method Summary
static void generate(java.io.InputStream input, java.io.InputStream template, java.io.OutputStream output)
          Generate output by processing input using template.
static void generate(java.io.InputStream template, java.io.OutputStream output)
          Generate output by processing the current project using template.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgoPrint

public ArgoPrint()
Method Detail

generate

public static void generate(java.io.InputStream template,
                            java.io.OutputStream output)
                     throws javax.xml.transform.TransformerException
Generate output by processing the current project using template.

Parameters:
template - stream containing an XSLT template
output - stream to which the result is written
Throws:
javax.xml.transform.TransformerException - If the document generation fails.

generate

public static void generate(java.io.InputStream input,
                            java.io.InputStream template,
                            java.io.OutputStream output)
                     throws javax.xml.transform.TransformerException
Generate output by processing input using template.

Parameters:
input - stream containing an XML document
template - stream containing an XSLT template
output - stream to which the result is written
Throws:
javax.xml.transform.TransformerException - If the document generation fails.