|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.documentinterchange.logicalstructure.PDObjectReference
public class PDObjectReference
An object reference.
Field Summary | |
---|---|
static String |
TYPE
|
Constructor Summary | |
---|---|
PDObjectReference()
Default Constructor. |
|
PDObjectReference(COSDictionary dictionary)
Constructor for an existing object reference. |
Method Summary | |
---|---|
protected COSDictionary |
getCOSDictionary()
|
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
COSObjectable |
getReferencedObject()
Gets a higher-level object for the referenced object. |
void |
setReferencedObject(PDAnnotation annotation)
Sets the referenced annotation. |
void |
setReferencedObject(PDXObject xobject)
Sets the referenced XObject. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TYPE
Constructor Detail |
---|
public PDObjectReference()
public PDObjectReference(COSDictionary dictionary)
dictionary
- The existing dictionary.Method Detail |
---|
protected COSDictionary getCOSDictionary()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSObjectable getReferencedObject()
PDAnnotation
,
a PDXObject
or null
.
public void setReferencedObject(PDAnnotation annotation)
annotation
- the referenced annotationpublic void setReferencedObject(PDXObject xobject)
xobject
- the referenced XObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |