public class CharacterPrimArrayFactory extends ArrayFactory<char[]>
Constructor and Description |
---|
CharacterPrimArrayFactory() |
Modifier and Type | Method and Description |
---|---|
char[] |
newInstance(Class<?> c,
JsonObject jObj,
ReaderContext context)
Implement this method to return a new instance of the passed in Class.
|
getType, isObjectFinal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
gatherRemainingValues, newInstance
public char[] newInstance(Class<?> c, JsonObject jObj, ReaderContext context)
JsonReader.ClassFactory
newInstance
in interface JsonReader.ClassFactory
newInstance
in class ArrayFactory<char[]>
c
- Class of the object that needs to be createdjObj
- JsonObject (if primitive type do jObj.getPrimitiveValue();context
- ReaderContext for creating objects an getting read optionsCopyright © 2024. All rights reserved.