DynamicPDF by ceTe Software

com.cete.dynamicpdf.io
Class DocumentResourceList

java.lang.Object
  extended by com.cete.dynamicpdf.io.DocumentResourceList

public class DocumentResourceList
extends java.lang.Object

Class represents a collection of resources for a document.

Licensing:
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:


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

Method Detail

getCurrentObjectNumber

public int getCurrentObjectNumber()
Gets the current object number of the next resource.

Returns:
the current object number of the next resource.

addDel

public void addDel(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.
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.

addUnique

public int addUnique(Resource resource)
Adds a unique 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 v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software