| Package | Description |
|---|---|
| net.lecousin.framework.io.serialization.annotations |
Annotations used for serialization and deserialization, to customize the process.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Instantiate.ToRule
Convert the annotation into a rule.
|
static class |
Instantiation.ToRule
Convert an annotation into an AttributeInstantiation rule.
|
static class |
MergeAttributes.ToRule
Convert an annotation into a rule.
|
static class |
Rename.ToRule
Convert an annotation into a rule.
|
static class |
SerializationMethods.ToRule
Convert an annotation into a CustomAttributeSerialization rule.
|
static class |
SerializationName.ToRule
Convert an annotation into a rule.
|
static class |
Transient.ToRule
Convert a Transient annotation on a field to a
SerializationRule. |
static class |
TypeSerializationMethod.ToRule
Convert an annotation into a CustomAttributeSerialization rule.
|
| Modifier and Type | Method and Description |
|---|---|
static List<AttributeAnnotationToRuleOnType<?>> |
AttributeAnnotationToRuleOnType.getAnnotationToRules(Annotation a)
Search for implementations to convert the given annotation into a rule.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AttributeAnnotationToRuleOnType.addRuleFromAttribute(SerializationClass.Attribute attr,
Annotation a,
AttributeAnnotationToRuleOnType toRule,
List<SerializationRule> rules,
List<SerializationRule> newRules)
Create a rule from annotation and add it to the new rules.
|
static <T extends Annotation> |
AttributeAnnotationToRuleOnType.Registry.register(Class<T> annotationType,
AttributeAnnotationToRuleOnType<T> toRule)
Register a converter.
|
Copyright © 2019. All rights reserved.