public class ZoneOffsetFactory extends Object implements JsonReader.ClassFactory
| Constructor and Description |
|---|
ZoneOffsetFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected ZoneOffset |
fromJsonObject(JsonObject job) |
protected ZoneOffset |
fromString(String id) |
boolean |
isObjectFinal() |
ZoneOffset |
newInstance(Class<?> c,
JsonObject jObj,
ReaderContext context)
Implement this method to return a new instance of the passed in Class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgatherRemainingValues, newInstancepublic ZoneOffset newInstance(Class<?> c, JsonObject jObj, ReaderContext context)
JsonReader.ClassFactorynewInstance in interface JsonReader.ClassFactoryc - Class of the object that needs to be createdjObj - JsonObject (if primitive type do jObj.getPrimitiveValue();context - ReaderContext for creating objects an getting read optionsprotected ZoneOffset fromString(String id)
protected ZoneOffset fromJsonObject(JsonObject job)
public boolean isObjectFinal()
isObjectFinal in interface JsonReader.ClassFactoryCopyright © 2023. All rights reserved.