Class PrettyProcessor
- java.lang.Object
-
- org.jboss.resteasy.plugins.providers.jaxb.PrettyProcessor
-
- All Implemented Interfaces:
DecoratorProcessor<Marshaller,Formatted>
public class PrettyProcessor extends Object implements DecoratorProcessor<Marshaller,Formatted>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Constructor Summary
Constructors Constructor Description PrettyProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Marshallerdecorate(Marshaller target, Formatted annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
-
-
-
Method Detail
-
decorate
public Marshaller decorate(Marshaller target, Formatted annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
decoratein interfaceDecoratorProcessor<Marshaller,Formatted>- Parameters:
target- i.e. a Marshaller instanceannotation- the annotation that triggered the decoratortype- typeannotations- array of annotationsmediaType- media type- Returns:
- should never return null
-
-