Interface PropertyAccessResolver

All Known Implementing Classes:
JsonLdPropertyAccessResolver

public interface PropertyAccessResolver
Resolves property access configuration for instance fields.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isReadable(Field field, Class<?> objectClass)
    Resolves whether value of the specified field is readable for serialization.
    boolean
    Resolves whether the specified field is writeable by deserialization.
  • Method Details

    • isReadable

      boolean isReadable(Field field, Class<?> objectClass)
      Resolves whether value of the specified field is readable for serialization.
      Parameters:
      field - Field to check
      objectClass - Type of the object being serialized
      Returns:
      Whether the field is readable
    • isWriteable

      boolean isWriteable(Field field)
      Resolves whether the specified field is writeable by deserialization.
      Parameters:
      field - Field to check
      Returns:
      Whether the field is writeable