Class ExtendedMappingImpl
java.lang.Object
wt.ixb.publicforapps.extendedmapping.ExtendedMappingImpl
- All Implemented Interfaces:
ExtendedMapping
- Direct Known Subclasses:
MultiTagMappingProcessor,SingleTagMappingProcessor
-
Method Summary
Modifier and TypeMethodDescriptionprotected MapperGet the suitable Mapper as per the Mapping scenario.protected StringpostprocessMappedValue(String tag, String parentTags, String value, String mappedValue, IxbElement srcElement) Customization point to process Mapped value as per business logic OOTB implementation returns the mapped value as-is
Supported API: true
Extendable: true
-
Method Details
-
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 MappingparentTags- Parent Tags separated byTAG_SEPARATOR. This would be null if tagValue represents the full Tag as defined in IXMappingConfiguration.xmlvalue- The source value for the TagmappedValue- The mapped value of the source value for the TagsrcElement- The IXBElement representation of the object data to be imported- Returns:
- The Mapped value
- Throws:
WTException
-