org.springframework.binding.mapping
Interface AttributeMapper

All Known Implementing Classes:
DefaultAttributeMapper, Mapping, RequiredMapping

public interface AttributeMapper

A lightweight service interface for mapping between two attribute sources.

Implementations of this interface are expected to encapsulate the mapping configuration information as well as the logic to act on it to perform mapping between a given source and target attribute source.

Author:
Keith Donald

Method Summary
 void map(java.lang.Object source, java.lang.Object target, MappingContext context)
          Map data from a source object to a target object.
 

Method Detail

map

void map(java.lang.Object source,
         java.lang.Object target,
         MappingContext context)
Map data from a source object to a target object.

Parameters:
source - the source
target - the target
context - the mapping context


Copyright © 2009 Spring Framework. All Rights Reserved.