| |
|
| java.lang.Object com.etymon.pj.object.BaseObject com.etymon.pj.object.PjObject com.etymon.pj.object.PjArray
All known Subclasses: com.etymon.pj.object.PjRectangle, com.etymon.pj.object.PjProcSet,
PjArray | public class PjArray extends PjObject (Code) | | A representation of the PDF array type.
author: Nassib Nassar |
Constructor Summary | |
public | PjArray() Creates an empty array. | public | PjArray(Vector v) Creates an array as a wrapper around a Vector. |
PjArray | public PjArray()(Code) | | Creates an empty array.
|
PjArray | public PjArray(Vector v)(Code) | | Creates an array as a wrapper around a Vector.
Parameters: v - the Vector to use for this array. |
getVector | public Vector getVector()(Code) | | Returns the Vector used to represent this array.
the Vector used to represent this array. |
renumber | public void renumber(Hashtable map)(Code) | | 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. Eachobject number is looked up by key in the hash table, andthe associated value is assigned as the new object number.The map hash table should consist of PjNumber keys andPjReference values. |
writePdf | public long writePdf(OutputStream os) throws IOException(Code) | | Writes this array to a stream in PDF format.
Parameters: os - the stream to write to. the number of bytes written. exception: IOException - if an I/O error occurs. |
|
|
|