toolbox.pdf
Class PdfFactory

Package class diagram package PdfFactory
java.lang.Object
  extended by toolbox.pdf.PdfFactory

public final class PdfFactory
extends java.lang.Object

Factory class to create Pdf descriptor instances.


Method Summary
static PdfFactory newInstance(java.lang.String xmlConf)
          Returns a new factory instance.
static PdfFactory newInstance(XMLProperties xmlProps)
          Returns a new factory instance.
 PdfMultiTable newPdfMultiTable(java.lang.String name)
          Return a PdfMultiTable instance that describes a PDF document.
 PdfTable newPdfTable(java.lang.String name)
          Return a PdfTable instance that describes a PDF document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static PdfFactory newInstance(java.lang.String xmlConf)
                              throws PdfException
Returns a new factory instance.

Parameters:
xmlConf - Location of XML configuration.
Returns:
PdfFactory instance.
Throws:
PdfException

newInstance

public static PdfFactory newInstance(XMLProperties xmlProps)
Returns a new factory instance.

Parameters:
xmlProps - XML configuration.
Returns:
PdfFactory instance.

newPdfTable

public PdfTable newPdfTable(java.lang.String name)
                     throws PdfException
Return a PdfTable instance that describes a PDF document.

Parameters:
name - Name of the descriptor to return.
Returns:
PdfTable instance.
Throws:
PdfException - if the descriptor cannot be created.

newPdfMultiTable

public PdfMultiTable newPdfMultiTable(java.lang.String name)
                               throws PdfException
Return a PdfMultiTable instance that describes a PDF document.

Parameters:
name - Name of the descriptor to return.
Returns:
PdfMultiTable instance.
Throws:
PdfException - if the descriptor cannot be created.