C
- public abstract class DeserializationConfig<C extends DeserializationConfig<C>> extends ParserConfig<C>
Constructor and Description |
---|
DeserializationConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
<T> com.landawn.abacus.type.Type<T> |
getElementType()
Gets the element type.
|
<T> com.landawn.abacus.type.Type<T> |
getMapKeyType()
Gets the map key type.
|
<T> com.landawn.abacus.type.Type<T> |
getMapValueType()
Gets the map value type.
|
<T> com.landawn.abacus.type.Type<T> |
getPropType(String propName)
Gets the prop type.
|
Map<String,com.landawn.abacus.type.Type<?>> |
getPropTypes()
Gets the prop types.
|
int |
hashCode() |
boolean |
hasPropType(String propName)
Checks for prop type.
|
boolean |
isIgnoreUnknownProperty()
Checks if is ignore unknown property.
|
C |
setElementType(Class<?> cls)
Sets the element type.
|
C |
setElementType(String type)
Sets the element type.
|
C |
setElementType(com.landawn.abacus.type.Type<?> type)
Sets the element type.
|
C |
setIgnoreUnknownProperty(boolean ignoreUnknownProperty)
Sets the ignore unknown property.
|
C |
setMapKeyType(Class<?> cls)
Sets the map key type.
|
C |
setMapKeyType(String keyType)
Sets the map key type.
|
C |
setMapKeyType(com.landawn.abacus.type.Type<?> keyType)
Sets the map key type.
|
C |
setMapValueType(Class<?> cls)
Sets the map value type.
|
C |
setMapValueType(String valueType)
Sets the map value type.
|
C |
setMapValueType(com.landawn.abacus.type.Type<?> valueType)
Sets the map value type.
|
C |
setPropType(String propName,
Class<?> cls)
Sets the prop type.
|
C |
setPropType(String propName,
String type)
Sets the prop type.
|
C |
setPropType(String propName,
com.landawn.abacus.type.Type<?> type)
Sets the prop type.
|
C |
setPropTypes(Map<String,com.landawn.abacus.type.Type<?>> propTypes)
Sets the prop types.
|
String |
toString() |
copy, getIgnoredPropNames, getIgnoredPropNames, setIgnoredPropNames, setIgnoredPropNames, setIgnoredPropNames
public boolean isIgnoreUnknownProperty()
public C setIgnoreUnknownProperty(boolean ignoreUnknownProperty)
ignoreUnknownProperty
- public <T> com.landawn.abacus.type.Type<T> getElementType()
T
- public C setElementType(Class<?> cls)
cls
- public C setElementType(com.landawn.abacus.type.Type<?> type)
type
- public C setElementType(String type)
type
- public <T> com.landawn.abacus.type.Type<T> getMapKeyType()
T
- public C setMapKeyType(Class<?> cls)
cls
- public C setMapKeyType(com.landawn.abacus.type.Type<?> keyType)
keyType
- public C setMapKeyType(String keyType)
keyType
- public <T> com.landawn.abacus.type.Type<T> getMapValueType()
T
- public C setMapValueType(Class<?> cls)
cls
- public C setMapValueType(com.landawn.abacus.type.Type<?> valueType)
valueType
- public C setMapValueType(String valueType)
valueType
- public Map<String,com.landawn.abacus.type.Type<?>> getPropTypes()
public C setPropTypes(Map<String,com.landawn.abacus.type.Type<?>> propTypes)
propTypes
- public <T> com.landawn.abacus.type.Type<T> getPropType(String propName)
T
- propName
- public C setPropType(String propName, Class<?> cls)
propName
- cls
- public C setPropType(String propName, com.landawn.abacus.type.Type<?> type)
propName
- type
- public C setPropType(String propName, String type)
propName
- type
- public boolean hasPropType(String propName)
propName
- public boolean equals(Object obj)
Copyright © 2019. All rights reserved.