|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.Resource
public abstract class Resource
Class provides the base class from which all resources are derived.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
|---|---|
protected |
Resource()
Initializes a new instance of the Resource class using the next UID. |
protected |
Resource(long uid)
Initializes a new instance of the Resource class. |
| Method Summary | |
|---|---|
abstract void |
draw(DocumentWriter writer)
Draws the resource to the given DocumentWriter object. |
int |
getRequiredPdfObjects()
Gets the number of PDF objects required by the resource. |
ResourceType |
getResourceType()
Gets the type of resource. |
long |
getUid()
Gets the unique ID of the resource. |
static long |
newUid()
Generates a new unique ID for a resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Resource()
Resource class using the next UID.
Resourceprotected Resource(long uid)
Resource class.
uid - A unique ID.| Method Detail |
|---|
public long getUid()
public int getRequiredPdfObjects()
public abstract void draw(DocumentWriter writer)
DocumentWriter object.
writer - DocumentWriter object to receive the resource's output.DocumentWriterpublic ResourceType getResourceType()
ResourceTypepublic static long newUid()
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||