Class IdentityMapper

java.lang.Object
ch.galinet.xml.xmlmerge.mapper.IdentityMapper
All Implemented Interfaces:
Mapper, Operation

public class IdentityMapper extends Object implements Mapper
Does not transform the element.
Author:
Laurent Bovet (LBO), Alex Mathey (AMA)
  • Constructor Details

    • IdentityMapper

      public IdentityMapper()
  • Method Details

    • map

      public org.jdom2.Element map(org.jdom2.Element patchElement)
      Transforms the given element to another element by changing some nested content or attributes.
      Specified by:
      map in interface Mapper
      Parameters:
      patchElement - the element to transform
      Returns:
      the transformed element