Class ObjectModification
java.lang.Object
eu.europa.esig.dss.pdf.modifications.ObjectModification
This object represents a modification occurred in a PDF document
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectModification
create
(PdfObjectTree objectTree, PdfObject finalObject) CreatesObjectModification
for a new object creation changestatic ObjectModification
delete
(PdfObjectTree objectTree, PdfObject originalObject) CreatesObjectModification
for an object removal changeboolean
Returns a corresponding object modification typeReturns a name of the changed field object, when applicable NOTE: the object shall be a type of field.Gets a final document revision objectReturns an object treeGets a signed revision objectgetType()
Returns a type of concerned object, when applicableint
hashCode()
static ObjectModification
modify
(PdfObjectTree objectTree, PdfObject originalObject, PdfObject finalObject) CreatesObjectModification
for an object modification change
-
Method Details
-
create
CreatesObjectModification
for a new object creation change- Parameters:
objectTree
-PdfObjectTree
finalObject
-PdfObject
final revision object- Returns:
ObjectModification
-
delete
CreatesObjectModification
for an object removal change- Parameters:
objectTree
-PdfObjectTree
originalObject
-PdfObject
signed revision object- Returns:
ObjectModification
-
modify
public static ObjectModification modify(PdfObjectTree objectTree, PdfObject originalObject, PdfObject finalObject) CreatesObjectModification
for an object modification change- Parameters:
objectTree
-PdfObjectTree
originalObject
-PdfObject
signed revision objectfinalObject
-PdfObject
final revision object- Returns:
ObjectModification
-
getObjectTree
-
getOriginalObject
-
getFinalObject
-
getActionType
Returns a corresponding object modification type- Returns:
PdfObjectModificationType
-
getFieldName
-
getType
-
equals
-
hashCode
-