Package org.apache.johnzon.mapper.access
Class MethodAccessMode
- java.lang.Object
-
- org.apache.johnzon.mapper.access.BaseAccessMode
-
- org.apache.johnzon.mapper.access.MethodAccessMode
-
- All Implemented Interfaces:
AccessMode
public class MethodAccessMode extends BaseAccessMode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MethodAccessMode.MethodDecoratedType
private class
MethodAccessMode.MethodGetterAsWriter
static class
MethodAccessMode.MethodReader
static class
MethodAccessMode.MethodWriter
-
Nested classes/interfaces inherited from class org.apache.johnzon.mapper.access.BaseAccessMode
BaseAccessMode.AllEntriesFieldFilteringStrategy, BaseAccessMode.ConfiguredFieldFilteringStrategy, BaseAccessMode.FieldFilteringStrategy, BaseAccessMode.SingleEntryFieldFilteringStrategy
-
Nested classes/interfaces inherited from interface org.apache.johnzon.mapper.access.AccessMode
AccessMode.DecoratedType, AccessMode.Factory, AccessMode.Reader, AccessMode.Writer
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
supportGetterAsWritter
-
Constructor Summary
Constructors Constructor Description MethodAccessMode(boolean useConstructor, boolean acceptHiddenConstructor, boolean supportGetterAsWritter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,AccessMode.Reader>
doFindReaders(Class<?> clazz)
Map<String,AccessMode.Writer>
doFindWriters(Class<?> clazz)
private String
extractKey(String name, Method from, Method or)
private PropertyDescriptor[]
getPropertyDescriptors(Class<?> clazz)
protected boolean
isIgnored(String name)
-
Methods inherited from class org.apache.johnzon.mapper.access.BaseAccessMode
afterParsed, fieldComparator, findAdapter, findAnyField, findAnyGetter, findAnySetter, findFactory, findReader, findReaders, findWriter, findWriters, getFieldFilteringStrategy, setFieldFilteringStrategy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.johnzon.mapper.access.AccessMode
findFactory, findMapAdder
-
-
-
-
Method Detail
-
doFindReaders
public Map<String,AccessMode.Reader> doFindReaders(Class<?> clazz)
- Specified by:
doFindReaders
in classBaseAccessMode
-
doFindWriters
public Map<String,AccessMode.Writer> doFindWriters(Class<?> clazz)
- Specified by:
doFindWriters
in classBaseAccessMode
-
isIgnored
protected boolean isIgnored(String name)
-
getPropertyDescriptors
private PropertyDescriptor[] getPropertyDescriptors(Class<?> clazz)
-
-