COSIncrement starts at a given COSUpdateInfo to collect updates, that have been made to a
COSDocument and therefore should be added to it´s next increment.
COSUpdateState, COSUpdateInfo
| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private final COSUpdateInfo | incrementOrigin
Contains the |
| private boolean | initialized
Whether this |
| private final Set | |
| private final Set | processedObjects
Contains all |
| Access | Constructor and Description |
|---|---|
| public | COSIncrement(COSUpdateInfo
The incrementOrigin)COSUpdateInfo serving as an update source for this COSIncrement.Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | addProcessedObject(COSObject
The base)COSObject to add to processedObjects.The given |
| private boolean | |
| private boolean | Returns: Returnstrue, if the COSDictionary represents a direct child structure, that would
require it´s parent to be updated instead.The dictionary)COSDictionary updates shall be collected for.Collect all updates made to the given |
| private boolean | collect(COSArray
The array)COSDictionary updates shall be collected for.Collect all updates made to the given |
| private boolean | |
| public boolean | Returns: true, if the given COSBase is already known to and has been processed by this
COSIncrement.The base)COSBase to check.Returns |
| public COSIncrement | |
| public Set | getObjects()
Returns all indirect |
| private boolean | |
| public Iterator | iterator()
Implements java. Return an iterator for the determined |
| private void | updateDifferentOrigin(COSUpdateState
The updateState)COSUpdateState that shall be updated, if it's originating from another
COSDocument.Check whether the given |
| excluded | back to summary |
|---|---|
| private final Set<COSBase> excluded Contains the direct | |
| incrementOrigin | back to summary |
|---|---|
| private final COSUpdateInfo incrementOrigin Contains the | |
| initialized | back to summary |
|---|---|
| private boolean initialized Whether this | |
| objects | back to summary |
|---|---|
| private final Set<COSBase> objects Contains the | |
| processedObjects | back to summary |
|---|---|
| private final Set<COSObject> processedObjects Contains all | |
| COSIncrement | back to summary |
|---|---|
| public COSIncrement(COSUpdateInfo incrementOrigin) Creates a new
| |
| add | back to summary |
|---|---|
| private void add(COSBase object) The given object and actual {COSBase}s shall be part of the increment and must be added to | |
| addProcessedObject | back to summary |
|---|---|
| private void addProcessedObject(COSObject base) The given
| |
| collect | back to summary |
|---|---|
| private boolean collect(COSBase base) Collect all updates made to the given
| |
| collect | back to summary |
|---|---|
| private boolean collect(COSDictionary dictionary) Collect all updates made to the given
| |
| collect | back to summary |
|---|---|
| private boolean collect(COSArray array) Collect all updates made to the given
| |
| collect | back to summary |
|---|---|
| private boolean collect(COSObject object) Collect all updates made to the given | |
| contains | back to summary |
|---|---|
| public boolean contains(COSBase base) Returns
| |
| exclude | back to summary |
|---|---|
| public COSIncrement exclude(COSBase... base) The given
| |
| getObjects | back to summary |
|---|---|
| public Set Returns all indirect | |
| isExcluded | back to summary |
|---|---|
| private boolean isExcluded(COSBase base) Returns | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Return an iterator for the determined
| |
| updateDifferentOrigin | back to summary |
|---|---|
| private void updateDifferentOrigin(COSUpdateState updateState) Check whether the given
| |