Interface Customization
- All Known Implementing Classes:
ClassCustomization
,ContainerCustomization
,CreatorCustomization
,PropertyCustomization
public interface Customization
Customization configuration for class or field.
Configuration parsed from annotation is put here.
Immutable.
-
Method Summary
Modifier and TypeMethodDescriptionDate formatter for formatting date values during deserialization process.Number formatter for formatting numbers during deserialization process.Date formatter for formatting date values during serialization process.Number formatter for formatting numbers during serialization process.boolean
Returns true if nillable customization is present.
-
Method Details
-
getSerializeNumberFormatter
JsonbNumberFormatter getSerializeNumberFormatter()Number formatter for formatting numbers during serialization process. It could be the same formatter instance used for deserialization (returned bygetDeserializeNumberFormatter()
- Returns:
- number formatter
-
getDeserializeNumberFormatter
JsonbNumberFormatter getDeserializeNumberFormatter()Number formatter for formatting numbers during deserialization process. It could be the same formatter instance used for serialization (returned bygetSerializeNumberFormatter()
- Returns:
- number formatter
-
getSerializeDateFormatter
JsonbDateFormatter getSerializeDateFormatter()Date formatter for formatting date values during serialization process. It could be the same formatter instance used for deserialization (returned bygetDeserializeDateFormatter()
. If not set, defaulted tojavax.json.bind.annotation .JsonbDateFormat.DEFAULT_FORMAT.
- Returns:
- date formatter
-
getDeserializeDateFormatter
JsonbDateFormatter getDeserializeDateFormatter()Date formatter for formatting date values during deserialization process. It could be the same formatter instance used for serialization (returned bygetSerializeDateFormatter()
. If not set, defaulted tojavax.json.bind.annotation .JsonbDateFormat.DEFAULT_FORMAT.
- Returns:
- date formatter
-
isNillable
boolean isNillable()Returns true if nillable customization is present.- Returns:
- True if nillable customization is present.
-