Interface BindContext
public interface BindContext
Contextual mapping for he translation of JSON Pointer segments into property references on persistent types.
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.expression.EvaluationContextReturns theEvaluationContextto be used for evaluating the underlying SpEL expression.getReadableProperty(String segment, Class<?> type) Return the name of the readable property for the given JSON pointer segment.getWritableProperty(String segment, Class<?> type) Returns the name of the writable property for the given JSON pointer segment.
-
Method Details
-
getWritableProperty
Returns the name of the writable property for the given JSON pointer segment.- Parameters:
segment- must not be null or empty.type- must not be null.- Returns:
- will never be null.
-
getReadableProperty
Return the name of the readable property for the given JSON pointer segment.- Parameters:
segment- must not be null or empty.type- must not be null.- Returns:
- will never be null.
-
getEvaluationContext
org.springframework.expression.EvaluationContext getEvaluationContext()Returns theEvaluationContextto be used for evaluating the underlying SpEL expression.- Returns:
- will never be null.
- Since:
- 3.7.9
-