Class JacksonXmlPropertyMapper
java.lang.Object
io.micronaut.serde.processor.xml.JacksonXmlPropertyMapper
- All Implemented Interfaces:
io.micronaut.core.naming.Named, io.micronaut.inject.annotation.AnnotationMapper<Annotation>, io.micronaut.inject.annotation.NamedAnnotationMapper
public final class JacksonXmlPropertyMapper
extends Object
implements io.micronaut.inject.annotation.NamedAnnotationMapper
Maps Jackson XML's
tools.jackson.dataformat.xml.annotation.JacksonXmlProperty.- Since:
- 3.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) Maps@JacksonXmlPropertytoSerdeConfig, handling attribute and element representation, a customlocalNameand an optional XMLnamespace.
-
Constructor Details
-
JacksonXmlPropertyMapper
public JacksonXmlPropertyMapper()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceio.micronaut.core.naming.Named
-
map
public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) Maps@JacksonXmlPropertytoSerdeConfig, handling attribute and element representation, a customlocalNameand an optional XMLnamespace.- Specified by:
mapin interfaceio.micronaut.inject.annotation.AnnotationMapper<Annotation>- Parameters:
annotation- The@JacksonXmlPropertyannotation valuesvisitorContext- The context that is being visited- Returns:
- A singleton list containing the resulting
SerdeConfigannotation
-