|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.objects.PdfObject it.stefanochizzolini.clown.objects.PdfDataObject it.stefanochizzolini.clown.objects.PdfDirectObject it.stefanochizzolini.clown.objects.PdfReference
public class PdfReference
PDF indirect reference object [PDF:1.6:3.2.9].
Constructor Summary | |
---|---|
PdfReference(Parser.Reference reference,
File file)
For internal use only. |
Method Summary | |
---|---|
Object |
clone(File context)
Gets the clone of the object, registered inside the given file context. |
int |
compareTo(PdfDirectObject object)
|
void |
delete()
Removes the object from its file context. |
boolean |
equals(Object object)
|
String |
getCrossReference(long offset)
|
PdfDataObject |
getDataObject()
Gets the actual data associated to the indirect reference. |
int |
getGenerationNumber()
|
String |
getID()
|
PdfIndirectObject |
getIndirectObject()
Gets the indirect object associated to the indirect reference. |
String |
getIndirectReference()
|
int |
getObjectNumber()
|
PdfReference |
getReference()
Gets the indirect reference associated to the indirect object. |
int |
hashCode()
|
void |
setDataObject(PdfDataObject value)
|
String |
toString()
|
void |
writeTo(IOutputStream stream)
Serializes the object to the given stream. |
Methods inherited from class it.stefanochizzolini.clown.objects.PdfDirectObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PdfReference(Parser.Reference reference, File file)
This is a necessary hack because indirect objects are unreachable on parsing bootstrap (see File(IInputStream) constructor).
Method Detail |
---|
public int compareTo(PdfDirectObject object)
compareTo
in interface Comparable<PdfDirectObject>
compareTo
in class PdfDirectObject
public boolean equals(Object object)
equals
in class Object
public String getCrossReference(long offset)
public int getGenerationNumber()
public String getID()
public String getIndirectReference()
public int getObjectNumber()
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public void writeTo(IOutputStream stream)
PdfObject
writeTo
in class PdfObject
public Object clone(File context)
PdfObject
clone
in interface IPdfIndirectObject
clone
in class PdfObject
public void delete()
IPdfIndirectObject
The object is no more usable after this method returns.
delete
in interface IPdfIndirectObject
public PdfDataObject getDataObject()
IPdfIndirectObject
getDataObject
in interface IPdfIndirectObject
public PdfIndirectObject getIndirectObject()
IPdfIndirectObject
getIndirectObject
in interface IPdfIndirectObject
public PdfReference getReference()
IPdfIndirectObject
getReference
in interface IPdfIndirectObject
public void setDataObject(PdfDataObject value)
setDataObject
in interface IPdfIndirectObject
IPdfIndirectObject.getDataObject()
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |