Class XjdfMerger


  • public class XjdfMerger
    extends java.lang.Object
    Class for merging xjdf documents recursively.
    • Constructor Summary

      Constructors 
      Constructor Description
      XjdfMerger()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      XJDF merge​(XJDF... xjdfs)
      Merge one xjdf document into another one.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XjdfMerger

        public XjdfMerger()
        Default constructor.
    • Method Detail

      • merge

        public final XJDF merge​(XJDF... xjdfs)
                         throws MergeConflictException
        Merge one xjdf document into another one. During the merge process all xjdfs will be merged sequentially. Values from latter xjdf documents will be added if possible or overwrite existing values.
        Parameters:
        xjdfs - XJDF documents to merge.
        Returns:
        merged XJDF document.
        Throws:
        MergeConflictException - if merging fails.