Package org.jboss.resteasy.spi
Interface DecoratorProcessor<T,A extends Annotation>
- 
- All Known Implementing Classes:
 JsonLinkDecorator,LinkDecorator,PrettyProcessor,StylesheetProcessor,XmlHeaderProcessor
public interface DecoratorProcessor<T,A extends Annotation>Part of a generic decorator framework.Decorate a target. For example, decorate a JAXB Marshaller with property values.
- Version:
 - $Revision: 1 $
 - Author:
 - Bill Burke
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tdecorate(T target, A annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) 
 - 
 
- 
- 
Method Detail
- 
decorate
T decorate(T target, A annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Parameters:
 target- i.e. a Marshaller instanceannotation- the annotation that triggered the decoratortype- typeannotations- array of annotationsmediaType- media type- Returns:
 - should never return null
 
 
 - 
 
 -