Package org.apache.johnzon.mapper.access
Interface AccessMode
-
- All Known Implementing Classes:
BaseAccessMode
,FieldAccessMode
,FieldAndMethodAccessMode
,JsonbAccessMode
,KnownNotOpenedJavaTypesAccessMode
,MethodAccessMode
public interface AccessMode
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AccessMode.DecoratedType
static interface
AccessMode.Factory
static interface
AccessMode.Reader
static interface
AccessMode.Writer
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
afterParsed(Class<?> clazz)
Called once johnzon will not use AccessMode anymore.Comparator<String>
fieldComparator(Class<?> clazz)
Adapter<?,?>
findAdapter(Class<?> clazz)
Field
findAnyField(Class<?> clazz)
Method
findAnyGetter(Class<?> clazz)
Method
findAnySetter(Class<?> clazz)
default AccessMode.Factory
findFactory(Class<?> clazz)
AccessMode.Factory
findFactory(Class<?> clazz, Function<AnnotatedElement,String>... parameterNameExtractors)
default Method
findMapAdder(Class<?> clazz)
ObjectConverter.Reader<?>
findReader(Class<?> clazz)
Map<String,AccessMode.Reader>
findReaders(Class<?> clazz)
ObjectConverter.Writer<?>
findWriter(Class<?> clazz)
Map<String,AccessMode.Writer>
findWriters(Class<?> clazz)
-
-
-
Method Detail
-
findFactory
AccessMode.Factory findFactory(Class<?> clazz, Function<AnnotatedElement,String>... parameterNameExtractors)
-
findFactory
default AccessMode.Factory findFactory(Class<?> clazz)
-
fieldComparator
Comparator<String> fieldComparator(Class<?> clazz)
-
findReaders
Map<String,AccessMode.Reader> findReaders(Class<?> clazz)
-
findWriters
Map<String,AccessMode.Writer> findWriters(Class<?> clazz)
-
findReader
ObjectConverter.Reader<?> findReader(Class<?> clazz)
-
findWriter
ObjectConverter.Writer<?> findWriter(Class<?> clazz)
-
afterParsed
void afterParsed(Class<?> clazz)
Called once johnzon will not use AccessMode anymore. Can be used to clean up any local cache.- Parameters:
clazz
- the parsed class.
-
-