PdfObjectReference

PdfObjectReference

Overview

PdfObjectReference is a class in Aspose.PDF FOSS for Java. Inherits from: PdfBase.

PDF indirect object reference (§7.3.10, ISO 32000-1:2008).

This class provides 16 methods for working with PdfObjectReference objects in Java programs. Available methods include: PdfObjectReference, accept, dereference, equals, getKey, getObjectKey, hashCode, isDirty, isIndirect, setDirty, setObjectKey, setResolver, and 2 additional methods. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: dirty, indirect, key, objectKey.

Properties

NameTypeAccessDescription
keyPdfObjectKeyReadReturns the indirect object key.
dirtybooleanReadReturns {@code true} if this object was modified since loading.
indirectbooleanReadReturns whether this object is an indirect object (has an object key).
objectKeyPdfObjectKeyReadReturns the indirect object key, or {@code null} for direct objects.

Methods

SignatureDescription
PdfObjectReference(key: PdfObjectKey)Creates a reference from a key.
PdfObjectReference(objectNumber: int, generationNumber: int)Creates a reference from object and generation numbers.
PdfObjectReference(key: PdfObjectKey, resolver: ObjectResolver)Creates a reference from a key with an optional resolver.
getKey()PdfObjectKeyReturns the indirect object key.
dereference()PdfBaseResolves the reference to the actual object.
setResolver(resolver: ObjectResolver)Sets the resolver for lazy loading.
writeTo(os: OutputStream)
accept(visitor: IPdfVisitor<T>)T
equals(o: Object)boolean
hashCode()int
toString()String
isDirty()booleanReturns {@code true} if this object was modified since loading.
setDirty(dirty: boolean)Sets the dirty flag on this object.
isIndirect()booleanReturns whether this object is an indirect object (has an object key).
getObjectKey()PdfObjectKeyReturns the indirect object key, or {@code null} for direct objects.
setObjectKey(key: PdfObjectKey)Sets the indirect object key.

See Also