public static interface SerializerFormatDefinition.FieldBuilder
| Modifier and Type | Method and Description |
|---|---|
SerializerFormatDefinition.Builder |
using(Serializer<?> serializer)
Define that this field uses the specified serializer.
|
SerializerFormatDefinition.Builder |
using(SerializerFormatDefinition def)
Define that this field uses the specified definition.
|
SerializerFormatDefinition.Builder |
using(ValueType valueType)
Using the definition for the specified value type.
|
SerializerFormatDefinition.FieldBuilder |
withHint(Annotation hint)
Add a hint to the definition.
|
SerializerFormatDefinition.FieldBuilder |
withHints(Annotation... hints)
Add several hints to the definition.
|
SerializerFormatDefinition.FieldBuilder |
withType(Class<?> type)
Set information about the Java-type.
|
SerializerFormatDefinition.FieldBuilder |
withType(Type type)
Set information about the Java-type.
|
SerializerFormatDefinition.FieldBuilder withHint(Annotation hint)
hint - SerializerFormatDefinition.FieldBuilder withHints(Annotation... hints)
hints - SerializerFormatDefinition.FieldBuilder withType(Class<?> type)
type - SerializerFormatDefinition.FieldBuilder withType(Type type)
type - SerializerFormatDefinition.Builder using(Serializer<?> serializer)
serializer - SerializerFormatDefinition.Builder using(SerializerFormatDefinition def)
def - SerializerFormatDefinition.Builder using(ValueType valueType)
valueType - Copyright © 2017. All rights reserved.