public class PDObjectReference extends PDDictionaryWrapper
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE
TYPE of this object.
|
| Constructor and Description |
|---|
PDObjectReference()
Default Constructor.
|
PDObjectReference(COSDictionary dictionary) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
equals, getCOSObject, hashCodepublic static final String TYPE
public PDObjectReference()
public PDObjectReference(COSDictionary dictionary)
public COSObjectable getReferencedObject()
PDAnnotation,
a PDXObject or null.public void setReferencedObject(PDAnnotation annotation)
annotation - the referenced annotationpublic void setReferencedObject(PDXObject xobject)
xobject - the referenced XObjectCopyright © 2020 sejda. All rights reserved.