public class PjArray extends PjObject
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector |
_v |
| Constructor and Description |
|---|
PjArray()
Creates an empty array.
|
PjArray(java.util.Vector v)
Creates an array as a wrapper around a Vector.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Returns a deep copy of this object.
|
protected java.util.Vector |
cloneVector() |
java.util.Vector |
getVector()
Returns the Vector used to represent this array.
|
void |
renumber(java.util.Hashtable map)
Renumbers object references within this object.
|
long |
writePdf(java.io.OutputStream os)
Writes this array to a stream in PDF format.
|
public PjArray()
public PjArray(java.util.Vector v)
v - the Vector to use for this array.public java.util.Vector getVector()
public long writePdf(java.io.OutputStream os)
throws java.io.IOException
writePdf in class BaseObjectos - the stream to write to.java.io.IOException - if an I/O error occurs.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class BaseObjectjava.lang.CloneNotSupportedException - if the instance can not be cloned.protected java.util.Vector cloneVector()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic void renumber(java.util.Hashtable map)