intarsys PDF library API

de.intarsys.pdf.cos
Class StandardDocumentFactory

java.lang.Object
  extended by de.intarsys.pdf.cos.StandardDocumentFactory
All Implemented Interfaces:
ICOSDocumentFactory

public class StandardDocumentFactory
extends Object
implements ICOSDocumentFactory

A simple factory that creates a new document from the locator.


Constructor Summary
StandardDocumentFactory()
           
 
Method Summary
 COSDocument createDocument(ILocator locator)
          Create a COSDocument instance representing the object structure of the PDF file designated by locator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardDocumentFactory

public StandardDocumentFactory()
Method Detail

createDocument

public COSDocument createDocument(ILocator locator)
                           throws COSLoadException,
                                  IOException
Description copied from interface: ICOSDocumentFactory
Create a COSDocument instance representing the object structure of the PDF file designated by locator.

Specified by:
createDocument in interface ICOSDocumentFactory
Parameters:
locator - The reference to the physical source of the PDF file.
Returns:
A new COSDocument
Throws:
COSLoadException
IOException

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.