Package 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
Modifier and TypeMethodDescriptionreadAliasFrom
(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 Details
-
readAliasFrom
Reads the type alias to be used from the given source.- Parameters:
source
-- Returns:
- can be null in case no alias was found.
-
writeTypeTo
Writes the given type alias to the given sink.- Parameters:
sink
-alias
-
-