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
ConstructorsConstructorDescriptionConstructor without starting keyPdfObjectTree(String key) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a keyvoidaddReference(Number objectNumber) Adds a numeric reference numbercopy()Creates a copy of the object (changes within a copy will not affect the original object)booleanintReturns the deepness of the current objects chainGets a complete key chainReturns a last keyinthashCode()booleanisProcessedReference(Number objectNumber) Checks whether a reference to the given object by number has been already processed in this treevoidThis 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:
PdfObjectTreecopy
-
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
-