@ControllerAdvice public class StringTrimmerAdvice extends Object
| Constructor and Description |
|---|
StringTrimmerAdvice() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCharsToDelete() |
void |
initBinder(org.springframework.web.bind.WebDataBinder webDataBinder)
Registers the
StringTrimmerEditor |
boolean |
isEmptyAsNull() |
void |
setCharsToDelete(String charsToDelete) |
void |
setEmptyAsNull(boolean emptyAsNull) |
public boolean isEmptyAsNull()
public void setEmptyAsNull(boolean emptyAsNull)
public String getCharsToDelete()
public void setCharsToDelete(String charsToDelete)
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder webDataBinder)
StringTrimmerEditorwebDataBinder - Copyright © 2018 DISID Corporation. All rights reserved.