Interface ExtendedMapping
- All Known Implementing Classes:
ExtendedMappingImpl,MultiTagMappingProcessor,SingleTagMappingProcessor
public interface ExtendedMapping
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptiongetMappedValue(String tagValue, String sourceValue, String parentTags, IxbElement sourceElement) Get the Mapped value if Mapping is found for the Tag
Supported API: true
Extendable: falsebooleanhasExtendedMapping(String tagValue, String parentTags) Evaluates if any Mapping is defined for given Tag
Supported API: true
Extendable: false
-
Method Details
-
hasExtendedMapping
Evaluates if any Mapping is defined for given Tag
Supported API: true
Extendable: false- Parameters:
tagValue- 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.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 MappingsourceValue- The source value for the TagparentTags- Parent Tags separated byTAG_SEPARATOR. This would be null if tagValue represents the full Tag as defined in IXMappingConfiguration.xmlsourceElement- The IXBElement representation of the object data to be imported- Returns:
- The Mapped value, if defined. Otherwise returns the source value
- Throws:
WTException
-