Interface MergeProcess

All Known Implementing Classes:
AbstractMergeProcessor, MergeProcessor

public interface MergeProcess
Interface for merge processing
Author:
Jim Earley (xml.jim@gmail.com)
  • Method Details

    • getMergeResultStrategy

      MergeResult getMergeResultStrategy()
      Return the specified merge result strategy
    • getArrayConflictStrategy

      JSONArrayConflictStrategy getArrayConflictStrategy()
      Return the the Conflict Strategy to apply to JSONArray nodes
    • getObjectConflictStrategy

      JSONObjectConflictStrategy getObjectConflictStrategy()
      Return the Conflict Strategy to apply to JSONObject nodes
    • mergeNodes

      <T extends JSONNode> T mergeNodes​(T primary, T secondary)
      Return the merged result
      Type Parameters:
      T - The JSON node type
      Parameters:
      primary - the primary node in the merge operation
      secondary - the secondary node in the merge operation
      Returns:
      the merged node