Interface ExtendedMapping

All Known Implementing Classes:
ExtendedMappingImpl, MultiTagMappingProcessor, SingleTagMappingProcessor

public interface ExtendedMapping


Supported API: true

Extendable: false
  • Method Summary

    Modifier and Type
    Method
    Description
    getMappedValue(String tagValue, String sourceValue, String parentTags, IxbElement sourceElement)
    Get the Mapped value if Mapping is found for the Tag

    Supported API: true

    Extendable: false
    boolean
    hasExtendedMapping(String tagValue, String parentTags)
    Evaluates if any Mapping is defined for given Tag

    Supported API: true

    Extendable: false
  • Method Details

    • hasExtendedMapping

      boolean hasExtendedMapping(String tagValue, String parentTags)
      Evaluates if any Mapping is defined for given Tag

      Supported API: true

      Extendable: false
      Parameters:
      tagValue - 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
      Returns:
      If Mapping is defined for the Tag as represented by tagValue and parentTags
    • getMappedValue

      String getMappedValue(String tagValue, String sourceValue, String parentTags, IxbElement sourceElement) throws WTException
      Get the Mapped value if Mapping is found for the Tag

      Supported API: true

      Extendable: false
      Parameters:
      tagValue - The Tag to be evaluated for Mapping
      sourceValue - The source value for the Tag
      parentTags - Parent Tags separated by TAG_SEPARATOR. This would be null if tagValue represents the full Tag as defined in IXMappingConfiguration.xml
      sourceElement - The IXBElement representation of the object data to be imported
      Returns:
      The Mapped value, if defined. Otherwise returns the source value
      Throws:
      WTException