final class ObjectReaderSeeAlso<T> extends ObjectReaderAdapter<T>
constructor, fieldReaders, hashCodes, hashCodesLCase, instantiationError, mapping, mappingLCase, parameterCount, seeAlso, seeAlsoDefault, seeAlsoMapping, seeAlsoNames, typeKey, typeKeyHashCodeautoTypeBeforeHandler, buildFunction, creator, extraFieldReader, features, hasDefaultValue, objectClass, schema, serializable, typeName, typeNameHashHASH_TYPE, VALUE_NAME| Constructor and Description |
|---|
ObjectReaderSeeAlso(java.lang.Class objectType,
java.util.function.Supplier<T> defaultCreator,
java.lang.String typeKey,
java.lang.Class[] seeAlso,
java.lang.String[] seeAlsoNames,
java.lang.Class seeAlsoDefault,
FieldReader... fieldReaders) |
| Modifier and Type | Method and Description |
|---|---|
(package private) ObjectReaderSeeAlso |
addSubType(java.lang.Class subTypeClass,
java.lang.String subTypeClassName) |
T |
createInstance(long features) |
T |
readJSONBObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from JSONB format.
|
T |
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.
|
apply, autoType, autoType, autoType, autoType, createInstance, createInstance, createInstance0, getBuildFunction, getFeatures, getFieldOrdinal, getFieldReader, getFieldReaderLCase, getFieldReaders, getFieldReaderUL, getTypeKey, getTypeKeyHash, ignoreError, initDefaultValue, initStringFieldAsEmpty, readArrayMappingJSONBObject, readArrayMappingJSONBObject0, readArrayMappingObject, readFieldValue, readFieldValueacceptExtra, checkAutoType, checkAutoType, checkAutoType0, getAutoTypeBeforeHandler, getObjectClass, processExtra, processExtra, processObjectInputSingleItemArray, readFieldValueWithLCase, readObject, setAutoTypeBeforeHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, acceptExtra, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getFieldReader, readObject, readObject, readObject, setFieldValue, setFieldValue, setFieldValueObjectReaderSeeAlso(java.lang.Class objectType,
java.util.function.Supplier<T> defaultCreator,
java.lang.String typeKey,
java.lang.Class[] seeAlso,
java.lang.String[] seeAlsoNames,
java.lang.Class seeAlsoDefault,
FieldReader... fieldReaders)
ObjectReaderSeeAlso addSubType(java.lang.Class subTypeClass, java.lang.String subTypeClassName)
public T createInstance(long features)
createInstance in interface ObjectReader<T>createInstance in class ObjectReaderAdapter<T>Tpublic T readJSONBObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadJSONBObject in interface ObjectReader<T>readJSONBObject in class ObjectReaderAdapter<T>jsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to usepublic T readObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadObject in interface ObjectReader<T>readObject in class ObjectReaderBean<T>jsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to use