org.jboss.resteasy.spi.interception
Interface DecoratorProcessor<T,A extends java.lang.annotation.Annotation>
- All Known Implementing Classes:
- LinkDecorator, PrettyProcessor, StylesheetProcessor, XmlHeaderProcessor
public interface DecoratorProcessor<T,A extends java.lang.annotation.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 |
T |
decorate(T target,
A annotation,
java.lang.Class type,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType)
|
decorate
T decorate(T target,
A annotation,
java.lang.Class type,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType)
- Parameters:
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decoratortype
- annotations
- mediaType
-
- Returns:
- should never return null
Copyright © 2010. All Rights Reserved.