org.springframework.binding.support
Interface AnnotationTranslator

All Known Implementing Classes:
ReflectionAnnotationTranslator

public interface AnnotationTranslator

Provides a strategy for converting JDK 1.5 Annotations on JavaBean properties into 1.4 compatible property level user metadata.

Since:
May 8, 2006 2:08:05 PM
Author:
andy

Method Summary
 void translate(Annotation annotation, Map<String,Object> result)
          Translates annotation into its constituent (or equivalent) key + value pairs and places the resulting pairs into the result map.
 

Method Detail

translate

void translate(Annotation annotation,
               Map<String,Object> result)
Translates annotation into its constituent (or equivalent) key + value pairs and places the resulting pairs into the result map.

Parameters:
annotation - the annotation to be translated
result - container to hold the result of this translation


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.