|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.etymon.pj.object.BaseObject
com.etymon.pj.object.PjObject
com.etymon.pj.object.PjReference
public class PjReference
A representation of the PDF reference type.
| Field Summary | |
|---|---|
private PjNumber |
_gen
|
private PjNumber |
_obj
|
| Constructor Summary | |
|---|---|
PjReference(PjNumber obj)
Creates a PDF reference object. |
|
PjReference(PjNumber obj,
PjNumber gen)
Creates a PDF reference object. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a deep copy of this object. |
boolean |
equals(java.lang.Object obj)
Compares two PjReference objects for equality. |
PjNumber |
getGenNumber()
Returns the generation number referenced by this PDF reference. |
PjNumber |
getObjNumber()
Returns the object number referenced by this PDF reference. |
int |
hashCode()
Returns a hash code value for the object. |
long |
writePdf(java.io.OutputStream os)
Writes this PDF reference object to a stream in PDF format. |
| Methods inherited from class com.etymon.pj.object.PjObject |
|---|
renumber |
| Methods inherited from class com.etymon.pj.object.BaseObject |
|---|
toString, write, write, write, writeln |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private PjNumber _obj
private PjNumber _gen
| Constructor Detail |
|---|
public PjReference(PjNumber obj)
obj - the object number for the new reference.
public PjReference(PjNumber obj,
PjNumber gen)
obj - the object number for the new reference.gen - the generation number for the new reference.| Method Detail |
|---|
public PjNumber getObjNumber()
public PjNumber getGenNumber()
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()
clone in class BaseObjectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object to compare to.
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||