Package org.apache.johnzon.mapper.access
Class FieldAccessMode
- java.lang.Object
-
- org.apache.johnzon.mapper.access.BaseAccessMode
-
- org.apache.johnzon.mapper.access.FieldAccessMode
-
- All Implemented Interfaces:
AccessMode
public class FieldAccessMode extends BaseAccessMode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldAccessMode.FieldDecoratedType
static class
FieldAccessMode.FieldReader
static class
FieldAccessMode.FieldWriter
-
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
-
-
Constructor Summary
Constructors Constructor Description FieldAccessMode(boolean useConstructor, boolean acceptHiddenConstructor)
-
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(Field f, String key)
protected Map<String,Field>
fields(Class<?> clazz, boolean includeFinalFields)
protected boolean
isIgnored(String key)
protected boolean
isIgnored(String key, Class<?> clazz)
-
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 key)
-
-