Package com.fasterxml.jackson.jr.ob.impl
Class BeanWriter
- java.lang.Object
-
- com.fasterxml.jackson.jr.ob.impl.BeanWriter
-
- All Implemented Interfaces:
ValueWriter
public class BeanWriter extends java.lang.Object implements ValueWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected BeanPropertyWriter[]
_properties
protected java.lang.Class<?>
_valueType
-
Constructor Summary
Constructors Constructor Description BeanWriter(java.lang.Class<?> type, BeanPropertyWriter[] props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
valueType()
Accessor for non-generic (type-erased) type of values this reader produces from input.void
writeValue(JSONWriter context, com.fasterxml.jackson.core.JsonGenerator g, java.lang.Object value)
-
-
-
Field Detail
-
_properties
protected final BeanPropertyWriter[] _properties
-
_valueType
protected final java.lang.Class<?> _valueType
-
-
Constructor Detail
-
BeanWriter
public BeanWriter(java.lang.Class<?> type, BeanPropertyWriter[] props)
-
-
Method Detail
-
writeValue
public void writeValue(JSONWriter context, com.fasterxml.jackson.core.JsonGenerator g, java.lang.Object value) throws java.io.IOException
- Specified by:
writeValue
in interfaceValueWriter
- Throws:
java.io.IOException
-
valueType
public java.lang.Class<?> valueType()
Description copied from interface:ValueWriter
Accessor for non-generic (type-erased) type of values this reader produces from input.- Specified by:
valueType
in interfaceValueWriter
-
-