public interface DecoratorProcessor<T,A extends Annotation>
Decorate a target. For example, decorate a JAXB Marshaller with property values.
Modifier and Type | Method and Description |
---|---|
T |
decorate(T target,
A annotation,
Class type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
T decorate(T target, A annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decoratortype
- typeannotations
- array of annotationsmediaType
- media typeCopyright © 2020 JBoss by Red Hat. All rights reserved.