public final class TrailerPath extends ObjectPath
ObjectPath), which describes transition to the
trailer entry which value is now a currently comparing direct object.path| Constructor and Description |
|---|
TrailerPath(PdfDocument cmpDoc,
PdfDocument outDoc)
Creates new
TrailerPath instance with corresponding base objects in two documents. |
TrailerPath(PdfDocument cmpDoc,
PdfDocument outDoc,
Stack<LocalPathItem> path)
Creates new
TrailerPath instance with corresponding base objects in two documents. |
TrailerPath(TrailerPath trailerPath)
Creates new
TrailerPath instance from another TrailerPath object, passed as argument. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Method returns true if this
TrailerPath instance equals to the passed object. |
PdfDocument |
getCmpDocument()
Method returns current cmp
PdfDocument object. |
PdfDocument |
getOutDocument()
Method returns current out
PdfDocument object. |
int |
hashCode()
Method returns a hash code of this
TrailerPath instance. |
String |
toString()
Method returns a string representation of this
TrailerPath instance. |
Node |
toXmlNode(Document document)
Creates xml node that describes this
TrailerPath instance. |
getBaseCmpObject, getBaseOutObject, getIndirectPath, getLocalPath, isComparing, pop, pushArrayItemToPath, pushDictItemToPath, pushOffsetToPath, resetDirectPathpublic TrailerPath(PdfDocument cmpDoc, PdfDocument outDoc)
TrailerPath instance with corresponding base objects in two documents.cmpDoc - base object in the cmp documentoutDoc - base object in the out documentpublic TrailerPath(TrailerPath trailerPath)
TrailerPath instance from another TrailerPath object, passed as argument.trailerPath - TrailerPath to create new instance frompublic TrailerPath(PdfDocument cmpDoc, PdfDocument outDoc, Stack<LocalPathItem> path)
TrailerPath instance with corresponding base objects in two documents.cmpDoc - base object in the cmp documentoutDoc - base object in the out documentpath - local path that denotes sequence of the path items
from base object to the comparing direct objectpublic PdfDocument getOutDocument()
PdfDocument object.PdfDocument object.public PdfDocument getCmpDocument()
PdfDocument object.PdfDocument object.public Node toXmlNode(Document document)
TrailerPath instance.toXmlNode in class ObjectPathdocument - xml document, to which this xml node will be added.TrailerPath instance.public String toString()
TrailerPath instance.toString in class ObjectPathTrailerPath instance.public int hashCode()
TrailerPath instance.hashCode in class ObjectPathTrailerPath instance.public boolean equals(Object obj)
TrailerPath instance equals to the passed object.equals in class ObjectPathTrailerPath instance equals to the passed object.Copyright © 1998–2025 Apryse Group NV. All rights reserved.