public class EMFJsonAnnotationConverter extends java.lang.Object implements AnnotationConverter
RootElement and EMFJSONConfig to EMF Load or Save Options| Constructor and Description |
|---|
EMFJsonAnnotationConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(java.lang.annotation.Annotation annotation,
boolean serialize)
Checks if the
Annotation can be handled |
void |
convertAnnotation(java.lang.annotation.Annotation annotation,
boolean serialize,
java.util.Map<java.lang.Object,java.lang.Object> options)
Converts the given
Annotation and adds the Putput to the given options Map |
public boolean canHandle(java.lang.annotation.Annotation annotation,
boolean serialize)
AnnotationConverterAnnotation can be handledcanHandle in interface AnnotationConverterannotation - the Annotation to handleserialize - if true, this annotation is used while serializing, false means deserializationpublic void convertAnnotation(java.lang.annotation.Annotation annotation,
boolean serialize,
java.util.Map<java.lang.Object,java.lang.Object> options)
AnnotationConverterAnnotation and adds the Putput to the given options MapconvertAnnotation in interface AnnotationConverterannotation - the Annotation to convertserialize - if true, this annotation is used while serializing, false means deserializationoptions - the Map with the EMF OptionsData In Motion Consulting GmbH (2017)