ElegantJ PDF Library Java API Specification v1.1

com.elegantj.pdf
Class PDFObject

java.lang.Object
  extended bycom.elegantj.pdf.PDFObject
Direct Known Subclasses:
Catalog, Info, Outlines, Page, Pages, PDFFont, PDFGraphicsObject, PDFPattern

public abstract class PDFObject
extends java.lang.Object

This class defines the base for the all the PDF objects


Constructor Summary
PDFObject()
          The default constructor
PDFObject(java.lang.String type)
          Constructs PDFObject with specified type
 
Method Summary
 int getPDFObjectID()
          Method which returns the PDF Object ID
 java.lang.String getPDFObjectRefStr()
          Method which returns the indirect refrence string for this PDF object
 java.lang.String getPDFObjectType()
          Method which returns the PDF Object Type
 void setPDFObjectID(int i)
          Method which sets the object id
 void setPDFObjectType(java.lang.String type)
          Method which sets the object type for the PDF object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFObject

public PDFObject()
The default constructor


PDFObject

public PDFObject(java.lang.String type)
Constructs PDFObject with specified type

Parameters:
type - The type of the object
Method Detail

getPDFObjectRefStr

public java.lang.String getPDFObjectRefStr()
Method which returns the indirect refrence string for this PDF object

Returns:
The indirect refrence string for this PDF object

setPDFObjectID

public void setPDFObjectID(int i)
Method which sets the object id

Parameters:
i - The object id

getPDFObjectID

public int getPDFObjectID()
Method which returns the PDF Object ID

Returns:
The PDF Object ID

setPDFObjectType

public void setPDFObjectType(java.lang.String type)
Method which sets the object type for the PDF object


getPDFObjectType

public java.lang.String getPDFObjectType()
Method which returns the PDF Object Type

Returns:
The PDF Object Type

ElegantJ PDF Library Java API Specification v1.1

For any feedback, suggestion, or query, please revert back to support@elegantjpdf.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjpdf.com
All Rights Reserved.