ComponentBoundCustomization, CustomizationContainerCustomizationpublic class ClassCustomization extends Object
| Constructor | Description |
|---|---|
ClassCustomization(ClassCustomization other) |
Copy constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
AdapterBinding |
getAdapterBinding() |
Adapter wrapper class with resolved generic information.
|
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.
|
DeserializerBinding |
getDeserializerBinding() |
Deserializer wrapper with resolved generic info.
|
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.
|
SerializerBinding |
getSerializerBinding() |
Serializer wrapper with resolved generic info.
|
boolean |
isNillable() |
Returns true if nillable customization is present.
|
void |
setPropertyOrder(String[] propertyOrder) |
Sets sorted properties.
|
public 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()public JsonbNumberFormatter getDeserializeNumberFormatter()
CustomizationCustomization.getSerializeNumberFormatter()public JsonbDateFormatter getSerializeDateFormatter()
CustomizationCustomization.getDeserializeDateFormatter(). If not set, defaulted to javax.json.bind.annotation.JsonbDateFormat.DEFAULT_FORMAT.
public JsonbDateFormatter getDeserializeDateFormatter()
CustomizationCustomization.getSerializeDateFormatter(). If not set, defaulted to javax.json.bind.annotation.JsonbDateFormat.DEFAULT_FORMAT.
public boolean isNillable()
isNillable in interface Customizationpublic AdapterBinding getAdapterBinding()
getAdapterBinding in interface ComponentBoundCustomizationpublic SerializerBinding getSerializerBinding()
getSerializerBinding in interface ComponentBoundCustomizationpublic DeserializerBinding getDeserializerBinding()
getDeserializerBinding in interface ComponentBoundCustomizationCopyright © 2018 Oracle Corporation. All rights reserved.