public class Xref extends Object
| Constructor and Description |
|---|
Xref() |
| Modifier and Type | Method and Description |
|---|---|
XrefEntry |
add(XrefEntry entry)
Adds the given entry to the
Xref replacing any entry previously associated to the given object number and
generation. |
XrefEntry |
addIfAbsent(XrefEntry entry)
Adds the given entry to the
Xref if an entry with the given object number and generation is not already
present. |
boolean |
contains(COSObjectKey objectKey) |
XrefEntry |
get(COSObjectKey objectKey) |
COSObjectKey |
highestKey() |
Collection<XrefEntry> |
values() |
public XrefEntry addIfAbsent(XrefEntry entry)
Xref if an entry with the given object number and generation is not already
present.entry - public XrefEntry add(XrefEntry entry)
Xref replacing any entry previously associated to the given object number and
generation.entry - public XrefEntry get(COSObjectKey objectKey)
objectKey - XrefEntry for with the given object Number and generation number or null if nothing is foundpublic Collection<XrefEntry> values()
public COSObjectKey highestKey()
public boolean contains(COSObjectKey objectKey)
objectKey - Copyright © 2020 sejda. All rights reserved.