TAnnotation - type of annotationpublic interface AttributeAnnotationToRuleOnAttribute<TAnnotation extends Annotation>
| Modifier and Type | Interface and Description |
|---|---|
static class |
AttributeAnnotationToRuleOnAttribute.Registry
Registry of converters between annotations and serialization rules.
|
| Modifier and Type | Method and Description |
|---|---|
static List<SerializationRule> |
addRules(SerializationClass.Attribute attr,
boolean onGet,
List<SerializationRule> rules)
Search for annotations on the given attributes, and try to convert them into
serialization rules.
|
SerializationRule |
createRule(TAnnotation annotation,
SerializationClass.Attribute attribute)
Create a rule from an annotation.
|
static List<AttributeAnnotationToRuleOnAttribute<?>> |
getAnnotationToRules(Annotation a)
Search for implementations to convert the given annotation into a rule.
|
SerializationRule createRule(TAnnotation annotation, SerializationClass.Attribute attribute)
static List<SerializationRule> addRules(SerializationClass.Attribute attr, boolean onGet, List<SerializationRule> rules)
static List<AttributeAnnotationToRuleOnAttribute<?>> getAnnotationToRules(Annotation a)
Copyright © 2019. All rights reserved.