ContainerCustomizationpublic class ClassCustomization extends Customization
| Constructor | Description |
|---|---|
ClassCustomization(ClassCustomization other) |
Copy constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
JsonbCreator |
getCreator() |
Returns instance of
JsonbCreator. |
JsonbDateFormatter |
getDeserializeDateFormatter() |
Date formatter for formatting date values during deserialization process.
|
JsonbNumberFormatter |
getDeserializeNumberFormatter() |
Number formatter for formatting numbers during deserialization process.
|
String[] |
getPropertyOrder() |
Names of properties to sort with.
|
JsonbDateFormatter |
getSerializeDateFormatter() |
Date formatter for formatting date values during serialization process.
|
JsonbNumberFormatter |
getSerializeNumberFormatter() |
Number formatter for formatting numbers during serialization process.
|
void |
setPropertyOrder(String[] propertyOrder) |
Sets sorted properties.
|
getAdapterBinding, getDeserializerBinding, getSerializerBinding, isNillablepublic ClassCustomization(ClassCustomization other)
other - other customization instancepublic JsonbCreator getCreator()
JsonbCreator.public String[] getPropertyOrder()
public void setPropertyOrder(String[] propertyOrder)
propertyOrder - sorted names of propertiespublic JsonbNumberFormatter getSerializeNumberFormatter()
CustomizationCustomization.getDeserializeNumberFormatter()getSerializeNumberFormatter in class Customizationpublic JsonbNumberFormatter getDeserializeNumberFormatter()
CustomizationCustomization.getSerializeNumberFormatter()getDeserializeNumberFormatter in class Customizationpublic JsonbDateFormatter getSerializeDateFormatter()
CustomizationCustomization.getDeserializeDateFormatter(). If not set, defaulted to javax.json.bind.annotation.JsonbDateFormat.DEFAULT_FORMAT.
getSerializeDateFormatter in class Customizationpublic JsonbDateFormatter getDeserializeDateFormatter()
CustomizationCustomization.getSerializeDateFormatter(). If not set, defaulted to javax.json.bind.annotation.JsonbDateFormat.DEFAULT_FORMAT.
getDeserializeDateFormatter in class CustomizationCopyright © 2017 Oracle Corporation. All rights reserved.