Class BundledDocumentDiffer


  • public class BundledDocumentDiffer
    extends java.lang.Object
    • Constructor Detail

      • BundledDocumentDiffer

        public BundledDocumentDiffer​(DocumentNodeStore nodeStore)
    • Method Detail

      • diff

        public boolean diff​(AbstractDocumentNodeState from,
                            AbstractDocumentNodeState to,
                            JsopWriter w)
        Performs diff for bundled nodes. The passed state can be DocumentNodeState or one from secondary nodestore i.e. DelegatingDocumentNodeState. So the passed states cannot be cast down to DocumentNodeState
        Parameters:
        from - from state
        to - to state
        w - jsop diff
        Returns:
        true if the diff needs to be continued. In case diff is complete it would return false