Module org.sejda.sambox
Class PDObjectReference
java.lang.Object
org.sejda.sambox.pdmodel.common.PDDictionaryWrapper
org.sejda.sambox.pdmodel.documentinterchange.logicalstructure.PDObjectReference
- All Implemented Interfaces:
COSObjectable
An object reference.
- Author:
- Johannes Koch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a higher-level object for the referenced object.voidsetReferencedObject(PDXObject xobject) Sets the referenced XObject.voidsetReferencedObject(PDAnnotation annotation) Sets the referenced annotation.Methods inherited from class org.sejda.sambox.pdmodel.common.PDDictionaryWrapper
equals, getCOSObject, hashCode
-
Field Details
-
TYPE
TYPE of this object.- See Also:
-
-
Constructor Details
-
PDObjectReference
public PDObjectReference()Default Constructor. -
PDObjectReference
-
-
Method Details
-
getReferencedObject
Gets a higher-level object for the referenced object. Currently this method may return aPDAnnotation, aPDXObjectornull.- Returns:
- a higher-level object for the referenced object
-
setReferencedObject
Sets the referenced annotation.- Parameters:
annotation- the referenced annotation
-
setReferencedObject
Sets the referenced XObject.- Parameters:
xobject- the referenced XObject
-