|
PDF Clown 0.0.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.stefanochizzolini.clown.objects.PdfObject
it.stefanochizzolini.clown.objects.PdfIndirectObject
public class PdfIndirectObject
PDF indirect object [PDF:1.6:3.2.9].
| Constructor Summary | |
|---|---|
PdfIndirectObject(File file,
PdfDataObject dataObject,
XRefEntry xrefEntry)
For internal use only. |
|
| Method Summary | |
|---|---|
Object |
clone(File context)
Gets the clone of the object, registered inside the given file context. |
void |
delete()
Removes the object from its file context. |
void |
dropFile()
For internal use only. |
void |
dropOriginal()
For internal use only. |
PdfDataObject |
getDataObject()
Gets the actual data associated to the indirect reference. |
File |
getFile()
|
PdfIndirectObject |
getIndirectObject()
Gets the indirect object associated to the indirect reference. |
PdfReference |
getReference()
Gets the indirect reference associated to the indirect object. |
int |
hashCode()
|
boolean |
isInUse()
|
boolean |
isOriginal()
|
void |
setDataObject(PdfDataObject value)
|
void |
update()
|
void |
writeTo(IOutputStream stream)
Serializes the object to the given stream. |
| Methods inherited from class it.stefanochizzolini.clown.objects.PdfObject |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PdfIndirectObject(File file,
PdfDataObject dataObject,
XRefEntry xrefEntry)
file - Associated file.dataObject - Data object associated to the indirect object.
It MUST be null if the indirect object is original (i.e. coming from an existing file) or
free.
It MUST be NOT null if the indirect object is new and in-use.xrefEntry - Cross-reference entry associated to the indirect object.
If the indirect object is new, its offset field MUST be set to 0 (zero).| Method Detail |
|---|
public File getFile()
public int hashCode()
hashCode in class Objectpublic boolean isInUse()
public boolean isOriginal()
public void update()
public void writeTo(IOutputStream stream)
PdfObject
writeTo in class PdfObjectpublic Object clone(File context)
PdfObject
clone in interface IPdfIndirectObjectclone in class PdfObjectpublic void delete()
IPdfIndirectObjectThe object is no more usable after this method returns.
delete in interface IPdfIndirectObjectpublic PdfDataObject getDataObject()
IPdfIndirectObject
getDataObject in interface IPdfIndirectObjectpublic PdfIndirectObject getIndirectObject()
IPdfIndirectObject
getIndirectObject in interface IPdfIndirectObjectpublic PdfReference getReference()
IPdfIndirectObject
getReference in interface IPdfIndirectObjectpublic void setDataObject(PdfDataObject value)
setDataObject in interface IPdfIndirectObjectIPdfIndirectObject.getDataObject()public void dropFile()
public void dropOriginal()
|
PDF Clown 0.0.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||