DynamicPDF by ceTe Software

com.cete.dynamicpdf.io
Class DocumentResourceList

java.lang.Object
  |
  +--com.cete.dynamicpdf.io.DocumentResourceList

public class DocumentResourceList
extends java.lang.Object

Class represents a collection of resources for a document.


Method Summary
 int add(Resource resource)
          Adds a resource to the document.
 void add(Resource resource, DocumentWriter writer)
          Returns a PDF object reference for the given resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public void add(Resource resource,
                DocumentWriter writer)
Returns a PDF object reference for the given resource.

Parameters:
resource - Resource object to add.
writer - DocumentWriter object to receive the resource lists output.
Returns:
A string value of the PDF object reference.
See Also:
Resource, DocumentWriter

add

public int add(Resource resource)
Adds a resource to the document.

Parameters:
resource - The resource to add.
Returns:
The PDF object number of the added resource.

DynamicPDF by ceTe Software

API Reference for DynamicPDF™ for Java generated on December 20, 2005
© Copyright 2005, ceTe Software