COSObjectablepublic class PDObjectReference extends java.lang.Object implements COSObjectable
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
TYPE |
TYPE of this object.
|
| Constructor | Description |
|---|---|
PDObjectReference() |
Default Constructor.
|
PDObjectReference(COSDictionary theDictionary) |
Constructor for an existing object reference.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected COSDictionary |
getCOSDictionary() |
Returns the underlying dictionary.
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
COSObjectable |
getReferencedObject() |
Gets a higher-level object for the referenced object.
|
void |
setReferencedObject(PDXObject xobject) |
Sets the referenced XObject.
|
void |
setReferencedObject(PDAnnotation annotation) |
Sets the referenced annotation.
|
public static final java.lang.String TYPE
public PDObjectReference()
public PDObjectReference(COSDictionary theDictionary)
theDictionary - The existing dictionary.protected COSDictionary getCOSDictionary()
public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic COSObjectable getReferencedObject()
PDAnnotation,
a PDXObject or null.public void setReferencedObject(PDAnnotation annotation)
annotation - the referenced annotationpublic void setReferencedObject(PDXObject xobject)
xobject - the referenced XObject