public static class ApacheLang3Support.PairReader extends java.lang.Object implements ObjectReader
| Modifier and Type | Field and Description |
|---|---|
(package private) static long |
LEFT |
(package private) java.lang.reflect.Type |
leftType |
(package private) java.lang.Class |
objectClass |
(package private) java.util.function.BiFunction |
of |
(package private) static long |
RIGHT |
(package private) java.lang.reflect.Type |
rightType |
HASH_TYPE, VALUE_NAME| Constructor and Description |
|---|
PairReader(java.lang.Class objectClass,
java.lang.reflect.Type leftType,
java.lang.reflect.Type rightType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
readJSONBObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from JSONB format.
|
java.lang.Object |
readObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from the specified JSONReader with the given field type, field name, and features.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, acceptExtra, acceptExtra, autoType, autoType, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getBuildFunction, getFeatures, getFieldReader, getFieldReader, getFieldReaderLCase, getObjectClass, getTypeKey, getTypeKeyHash, readArrayMappingJSONBObject, readArrayMappingObject, readObject, readObject, readObject, setFieldValue, setFieldValue, setFieldValuestatic final long LEFT
static final long RIGHT
final java.lang.Class objectClass
final java.lang.reflect.Type leftType
final java.lang.reflect.Type rightType
final java.util.function.BiFunction of
public PairReader(java.lang.Class objectClass,
java.lang.reflect.Type leftType,
java.lang.reflect.Type rightType)
public java.lang.Object readJSONBObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadJSONBObject in interface ObjectReaderjsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to usepublic java.lang.Object readObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadObject in interface ObjectReaderjsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to use