Spring Data Commons

org.springframework.data.convert
Interface TypeAliasAccessor<S>


public interface TypeAliasAccessor<S>

Interface to abstract implementations of how to access a type alias from a given source or sink.

Author:
Oliver Gierke

Method Summary
 Object readAliasFrom(S source)
          Reads the type alias to be used from the given source.
 void writeTypeTo(S sink, Object alias)
          Writes the given type alias to the given sink.
 

Method Detail

readAliasFrom

Object readAliasFrom(S source)
Reads the type alias to be used from the given source.

Parameters:
source -
Returns:

writeTypeTo

void writeTypeTo(S sink,
                 Object alias)
Writes the given type alias to the given sink.

Parameters:
sink -
alias -

Spring Data Commons

Copyright © 2012. All Rights Reserved.