com.etymon.pj.object
Class PjObject

java.lang.Object
  extended by com.etymon.pj.object.BaseObject
      extended by com.etymon.pj.object.PjObject
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
PjArray, PjBoolean, PjDictionary, PjName, PjNull, PjNumber, PjReference, PjStream, PjString

public abstract class PjObject
extends BaseObject

A PDF object representation. This is the base class for all high level PDF objects.


Constructor Summary
PjObject()
           
 
Method Summary
 void renumber(java.util.Hashtable map)
          Renumbers object references within this object.
 
Methods inherited from class com.etymon.pj.object.BaseObject
clone, toString, write, write, write, writeln, writePdf
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PjObject

public PjObject()
Method Detail

renumber

public void renumber(java.util.Hashtable map)
Renumbers object references within this object. This method calls itself recursively to comprehensively renumber all objects contained within this object.

Parameters:
map - the table of object number mappings. Each object number is looked up by key in the hash table, and the associated value is assigned as the new object number. The map hash table should consist of PjNumber keys and PjReference values.