public final class MergingNodeStateDiff extends DefaultNodeStateDiff
Modifier and Type | Method and Description |
---|---|
boolean |
childNodeAdded(java.lang.String name,
NodeState after)
Called for all added child nodes.
|
boolean |
childNodeChanged(java.lang.String name,
NodeState before,
NodeState after)
Called for all child nodes that may contain changes between the before
and after states.
|
childNodeDeleted, propertyAdded, propertyChanged, propertyDeleted
public boolean childNodeAdded(java.lang.String name, NodeState after)
NodeStateDiff
childNodeAdded
in interface NodeStateDiff
childNodeAdded
in class DefaultNodeStateDiff
name
- name of the added child nodeafter
- child node state after the changetrue
to continue the comparison, false
to abort.
Abort will stop comparing completely, that means sibling nodes
and sibling nodes of all parents are not further compared.public boolean childNodeChanged(java.lang.String name, NodeState before, NodeState after)
NodeStateDiff
childNodeChanged
in interface NodeStateDiff
childNodeChanged
in class DefaultNodeStateDiff
name
- name of the changed child nodebefore
- child node state before the changeafter
- child node state after the changetrue
to continue the comparison, false
to abort.
Abort will stop comparing completely, that means sibling nodes
and sibling nodes of all parents are not further compared.Copyright © 2010 - 2020 Adobe. All Rights Reserved