Interface FieldSanitizer<T>
- Type Parameters:
T- the type of the field (e.g., String, LocalDate, BigDecimal)
- All Known Implementing Classes:
CollapseWhitespaceSanitizer,ConfigurableFieldSanitizer,CreditCardMaskSanitizer,EmailAliasStripSanitizer,HtmlEscapeSanitizer,IBANMaskSanitizer,LowerCaseSanitizer,NullIfBlankSanitizer,PhoneE164Sanitizer,RemoveNonPrintableSanitizer,SafeFilenameSanitizer,SentenceCaseSanitizer,SlugifySanitizer,SSNMaskSanitizer,TitleCaseSanitizer,TrimSanitizer,TruncateSanitizer,UpperCaseSanitizer,UuidNormalizeSanitizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface for sanitizing a single field value.
-
Method Summary
-
Method Details
-
sanitize
Apply sanitization to the input value.- Parameters:
input- the raw value (maybe null)- Returns:
- the sanitized value (maybe null)
-