Class PdfObjectTree
java.lang.Object
eu.europa.esig.dss.pdf.modifications.PdfObjectTree
Represents a PDF object chain from a root to the current object
-
Constructor Summary
ConstructorDescriptionConstructor without starting keyPdfObjectTree
(String key) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a keyvoid
addReference
(Number objectNumber) Adds a numeric reference numbercopy()
Creates a copy of the object (changes within a copy will not affect the original object)boolean
int
Returns the deepness of the current objects chainGets a complete key chainReturns a last keyint
hashCode()
boolean
isProcessedReference
(Number objectNumber) Checks whether a reference to the given object by number has been already processed in this treevoid
This method allows to specify that a stream have been processedtoString()
-
Constructor Details
-
PdfObjectTree
public PdfObjectTree()Constructor without starting key -
PdfObjectTree
-
-
Method Details
-
copy
Creates a copy of the object (changes within a copy will not affect the original object)- Returns:
PdfObjectTree
copy
-
addKey
-
addReference
-
setStream
public void setStream()This method allows to specify that a stream have been processed -
getKeyChain
-
getChainDeepness
public int getChainDeepness()Returns the deepness of the current objects chain- Returns:
- chain deepness
-
getLastKey
-
isProcessedReference
-
equals
-
hashCode
-
toString
-