T
- the type parameterpublic class JavetConverterConfig<T extends JavetConverterConfig<T>>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_DEPTH
The constant DEFAULT_MAX_DEPTH.
|
protected boolean |
defaultBoolean
The Default boolean.
|
protected byte |
defaultByte
The Default byte.
|
protected char |
defaultChar
The Default char.
|
protected double |
defaultDouble
The Default double.
|
protected float |
defaultFloat
The Default float.
|
protected int |
defaultInt
The Default int.
|
protected long |
defaultLong
The Default long.
|
protected short |
defaultShort
The Default short.
|
protected boolean |
extractFunctionSourceCode
The Extract function source code.
|
protected int |
maxDepth
The Max depth.
|
protected java.util.List<IClassProxyPlugin> |
proxyPlugins
The Proxy plugins.
|
protected IJavetReflectionObjectFactory |
reflectionObjectFactory
The Reflection object factory.
|
protected boolean |
sealedEnabled
The Sealed enabled.
|
protected boolean |
skipFunctionInObject
This flag determines whether function should be skipped in object or not.
|
Constructor and Description |
---|
JavetConverterConfig()
Instantiates a new Javet converter config.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getDefaultBoolean()
Gets default boolean boolean.
|
byte |
getDefaultByte()
Gets default byte.
|
char |
getDefaultChar()
Gets default char.
|
double |
getDefaultDouble()
Gets default double.
|
float |
getDefaultFloat()
Gets default float.
|
int |
getDefaultInt()
Gets default int.
|
long |
getDefaultLong()
Gets default long.
|
short |
getDefaultShort()
Gets default short.
|
int |
getMaxDepth()
Gets max depth.
|
java.util.List<IClassProxyPlugin> |
getProxyPlugins()
Gets proxy plugins.
|
IJavetReflectionObjectFactory |
getReflectionObjectFactory()
Gets reflection object factory.
|
boolean |
isExtractFunctionSourceCode()
Is extract function source code.
|
boolean |
isProxyArrayEnabled()
Is proxy array enabled.
|
boolean |
isProxyListEnabled()
Is proxy list enabled.
|
boolean |
isProxyMapEnabled()
Is proxy map enabled.
|
boolean |
isProxySetEnabled()
Is proxy set enabled.
|
boolean |
isSealedEnabled()
Is sealed enabled.
|
boolean |
isSkipFunctionInObject()
Is skip functions.
|
JavetConverterConfig<T> |
setDefaultBoolean(boolean defaultBoolean)
Sets default boolean.
|
JavetConverterConfig<T> |
setDefaultByte(byte defaultByte)
Sets default byte.
|
JavetConverterConfig<T> |
setDefaultChar(char defaultChar)
Sets default char.
|
JavetConverterConfig<T> |
setDefaultDouble(double defaultDouble)
Sets default double.
|
JavetConverterConfig<T> |
setDefaultFloat(float defaultFloat)
Sets default float.
|
JavetConverterConfig<T> |
setDefaultInt(int defaultInt)
Sets default int.
|
JavetConverterConfig<T> |
setDefaultLong(long defaultLong)
Sets default long.
|
JavetConverterConfig<T> |
setDefaultShort(short defaultShort)
Sets default short.
|
JavetConverterConfig<T> |
setExtractFunctionSourceCode(boolean extractFunctionSourceCode)
Sets extract function source code.
|
JavetConverterConfig<T> |
setMaxDepth(int maxDepth)
Sets max depth.
|
JavetConverterConfig<T> |
setProxyArrayEnabled(boolean proxyArrayEnabled)
Sets proxy array enabled.
|
JavetConverterConfig<T> |
setProxyListEnabled(boolean proxyListEnabled)
Sets proxy list enabled.
|
JavetConverterConfig<T> |
setProxyMapEnabled(boolean proxyMapEnabled)
Sets proxy map enabled.
|
JavetConverterConfig<T> |
setProxySetEnabled(boolean proxySetEnabled)
Sets proxy set enabled.
|
JavetConverterConfig<T> |
setReflectionObjectFactory(IJavetReflectionObjectFactory reflectionObjectFactory)
Sets reflection object factory.
|
JavetConverterConfig<T> |
setSealedEnabled(boolean sealedEnabled)
Sets sealed enabled.
|
JavetConverterConfig<T> |
setSkipFunctionInObject(boolean skipFunctionInObject)
Sets skip functions.
|
public static final int DEFAULT_MAX_DEPTH
protected final java.util.List<IClassProxyPlugin> proxyPlugins
protected boolean defaultBoolean
protected byte defaultByte
protected char defaultChar
protected double defaultDouble
protected float defaultFloat
protected int defaultInt
protected long defaultLong
protected short defaultShort
protected boolean extractFunctionSourceCode
protected int maxDepth
protected IJavetReflectionObjectFactory reflectionObjectFactory
protected boolean sealedEnabled
protected boolean skipFunctionInObject
public JavetConverterConfig()
public boolean getDefaultBoolean()
public byte getDefaultByte()
public char getDefaultChar()
public double getDefaultDouble()
public float getDefaultFloat()
public int getDefaultInt()
public long getDefaultLong()
public short getDefaultShort()
public int getMaxDepth()
public java.util.List<IClassProxyPlugin> getProxyPlugins()
public IJavetReflectionObjectFactory getReflectionObjectFactory()
public boolean isExtractFunctionSourceCode()
public boolean isProxyArrayEnabled()
public boolean isProxyListEnabled()
public boolean isProxyMapEnabled()
public boolean isProxySetEnabled()
public boolean isSealedEnabled()
public boolean isSkipFunctionInObject()
public JavetConverterConfig<T> setDefaultBoolean(boolean defaultBoolean)
defaultBoolean
- the default booleanpublic JavetConverterConfig<T> setDefaultByte(byte defaultByte)
defaultByte
- the default bytepublic JavetConverterConfig<T> setDefaultChar(char defaultChar)
defaultChar
- the default charpublic JavetConverterConfig<T> setDefaultDouble(double defaultDouble)
defaultDouble
- the default doublepublic JavetConverterConfig<T> setDefaultFloat(float defaultFloat)
defaultFloat
- the default floatpublic JavetConverterConfig<T> setDefaultInt(int defaultInt)
defaultInt
- the default intpublic JavetConverterConfig<T> setDefaultLong(long defaultLong)
defaultLong
- the default longpublic JavetConverterConfig<T> setDefaultShort(short defaultShort)
defaultShort
- the default shortpublic JavetConverterConfig<T> setExtractFunctionSourceCode(boolean extractFunctionSourceCode)
extractFunctionSourceCode
- the extract function source codepublic JavetConverterConfig<T> setMaxDepth(int maxDepth)
maxDepth
- the max depthpublic JavetConverterConfig<T> setProxyArrayEnabled(boolean proxyArrayEnabled)
proxyArrayEnabled
- the proxy array enabledpublic JavetConverterConfig<T> setProxyListEnabled(boolean proxyListEnabled)
proxyListEnabled
- the proxy list enabledpublic JavetConverterConfig<T> setProxyMapEnabled(boolean proxyMapEnabled)
proxyMapEnabled
- the proxy map enabledpublic JavetConverterConfig<T> setProxySetEnabled(boolean proxySetEnabled)
proxySetEnabled
- the proxy set enabledpublic JavetConverterConfig<T> setReflectionObjectFactory(IJavetReflectionObjectFactory reflectionObjectFactory)
reflectionObjectFactory
- the reflection object factorypublic JavetConverterConfig<T> setSealedEnabled(boolean sealedEnabled)
sealedEnabled
- the sealed enabledpublic JavetConverterConfig<T> setSkipFunctionInObject(boolean skipFunctionInObject)
skipFunctionInObject
- the skip functions