org.jboss.resteasy.plugins.providers.jaxb
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrettyProcessor
public PrettyProcessor()
decorate
public Marshaller decorate(Marshaller target,
Formatted annotation,
Class type,
Annotation[] annotations,
MediaType mediaType)
- Specified by:
decorate
in interface DecoratorProcessor<Marshaller,Formatted>
- Parameters:
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decorator
- Returns:
- should never return null
Copyright © 2012. All Rights Reserved.