Class ExtendedMappingImpl

java.lang.Object
wt.ixb.publicforapps.extendedmapping.ExtendedMappingImpl
All Implemented Interfaces:
ExtendedMapping
Direct Known Subclasses:
MultiTagMappingProcessor, SingleTagMappingProcessor

public abstract class ExtendedMappingImpl extends Object implements ExtendedMapping
Base class for ExtendedMapping implementation

Supported API: true

Extendable: false
  • Method Details

    • getMapper

      protected Mapper getMapper()
      Get the suitable Mapper as per the Mapping scenario. This method can be overriden to return a customized Mapper implementation

      Supported API: true

      Extendable: true
      Returns:
      The suitable Mapper
    • postprocessMappedValue

      protected String postprocessMappedValue(String tag, String parentTags, String value, String mappedValue, IxbElement srcElement) throws WTException
      Customization point to process Mapped value as per business logic OOTB implementation returns the mapped value as-is

      Supported API: true

      Extendable: true
      Parameters:
      tag - The Tag to be evaluated for Mapping
      parentTags - Parent Tags separated by TAG_SEPARATOR. This would be null if tagValue represents the full Tag as defined in IXMappingConfiguration.xml
      value - The source value for the Tag
      mappedValue - The mapped value of the source value for the Tag
      srcElement - The IXBElement representation of the object data to be imported
      Returns:
      The Mapped value
      Throws:
      WTException