public class OutputTypeAwareMapperBehavior extends Object implements MapperBehavior
Constructor and Description |
---|
OutputTypeAwareMapperBehavior(Class type) |
Modifier and Type | Method and Description |
---|---|
String |
getEncoding()
To apply an encoding on the core value if, this value is not null
|
Class |
getType()
Type Class of expected Output from the mapping operation
|
boolean |
isConvertBlankCellToNullValue()
When dealing with Numbers, if this is false then 0 is returned as per
Cell#getNumericCellValue() . |
boolean |
isStrictTypeChecking()
Strict implies if an
OutputTypeAwareMapperBehavior is defined; and the actual type does not match expected
then the native error will not be handled.. |
void |
setConvertBlankCellToNullValue(boolean convertBlankCellToNullValue)
When dealing with Numbers, if this is false then 0 is returned as per
Cell#getNumericCellValue() . |
void |
setEncoding(String encoding)
To apply an encoding on the core value if, this value is not null
|
void |
setStrictTypeChecking(boolean strictTypeChecking)
Strict implies if an
OutputTypeAwareMapperBehavior is defined; and the actual type does not match expected
then the native error will not be handled.. |
void |
setType(Class type) |
public OutputTypeAwareMapperBehavior(Class type)
public Class getType()
public void setType(Class type)
public String getEncoding()
public void setEncoding(String encoding)
public boolean isConvertBlankCellToNullValue()
Cell#getNumericCellValue()
.
public void setConvertBlankCellToNullValue(boolean convertBlankCellToNullValue)
Cell#getNumericCellValue()
.
public boolean isStrictTypeChecking()
OutputTypeAwareMapperBehavior
is defined; and the actual type does not match expected
then the native error will not be handled..
#getDefaultValue(Cell)
.public void setStrictTypeChecking(boolean strictTypeChecking)
OutputTypeAwareMapperBehavior
is defined; and the actual type does not match expected
then the native error will not be handled..
#getDefaultValue(Cell)
.Copyright © 2018. All rights reserved.