Package cz.cvut.kbss.jsonld.common
Interface PropertyAccessResolver
- All Known Implementing Classes:
JsonLdPropertyAccessResolver
public interface PropertyAccessResolver
Resolves property access configuration for instance fields.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisReadable(Field field, Class<?> objectClass) Resolves whether value of the specified field is readable for serialization.booleanisWriteable(Field field) Resolves whether the specified field is writeable by deserialization.
-
Method Details
-
isReadable
Resolves whether value of the specified field is readable for serialization.- Parameters:
field- Field to checkobjectClass- Type of the object being serialized- Returns:
- Whether the field is readable
-
isWriteable
Resolves whether the specified field is writeable by deserialization.- Parameters:
field- Field to check- Returns:
- Whether the field is writeable
-