Package org.apache.johnzon.mapper.access
Class FieldAndMethodAccessMode.CompositeWriter
- java.lang.Object
-
- org.apache.johnzon.mapper.access.FieldAndMethodAccessMode.CompositeDecoratedType<AccessMode.Writer>
-
- org.apache.johnzon.mapper.access.FieldAndMethodAccessMode.CompositeWriter
-
- All Implemented Interfaces:
AccessMode.DecoratedType
,AccessMode.Writer
- Enclosing class:
- FieldAndMethodAccessMode
public static final class FieldAndMethodAccessMode.CompositeWriter extends FieldAndMethodAccessMode.CompositeDecoratedType<AccessMode.Writer> implements AccessMode.Writer
-
-
Field Summary
-
Fields inherited from class org.apache.johnzon.mapper.access.FieldAndMethodAccessMode.CompositeDecoratedType
type1, type2
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CompositeWriter(AccessMode.Writer type1, AccessMode.Writer type2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectConverter.Reader<?>
findObjectConverterReader()
void
write(Object instance, Object value)
-
Methods inherited from class org.apache.johnzon.mapper.access.FieldAndMethodAccessMode.CompositeDecoratedType
findConverter, getAnnotation, getClassOrPackageAnnotation, getType, getType1, getType2, isNillable, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.johnzon.mapper.access.AccessMode.DecoratedType
findConverter, getAnnotation, getClassOrPackageAnnotation, getType, isNillable
-
-
-
-
Constructor Detail
-
CompositeWriter
private CompositeWriter(AccessMode.Writer type1, AccessMode.Writer type2)
-
-
Method Detail
-
write
public void write(Object instance, Object value)
- Specified by:
write
in interfaceAccessMode.Writer
-
findObjectConverterReader
public ObjectConverter.Reader<?> findObjectConverterReader()
- Specified by:
findObjectConverterReader
in interfaceAccessMode.Writer
-
-