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 Type
    Method
    Description
    org.springframework.expression.EvaluationContext
    Returns the EvaluationContext to 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

      Optional<String> getWritableProperty(String segment, Class<?> type)
      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

      Optional<String> getReadableProperty(String segment, Class<?> type)
      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 the EvaluationContext to be used for evaluating the underlying SpEL expression.
      Returns:
      will never be null.
      Since:
      3.7.9