org.jboss.resteasy.plugins.providers.jaxb
Class PrettyProcessor

java.lang.Object
  extended by org.jboss.resteasy.plugins.providers.jaxb.PrettyProcessor
All Implemented Interfaces:
DecoratorProcessor<javax.xml.bind.Marshaller,Formatted>

public class PrettyProcessor
extends java.lang.Object
implements DecoratorProcessor<javax.xml.bind.Marshaller,Formatted>

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
PrettyProcessor()
           
 
Method Summary
 javax.xml.bind.Marshaller decorate(javax.xml.bind.Marshaller target, Formatted annotation, java.lang.Class type, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrettyProcessor

public PrettyProcessor()
Method Detail

decorate

public javax.xml.bind.Marshaller decorate(javax.xml.bind.Marshaller target,
                                          Formatted annotation,
                                          java.lang.Class type,
                                          java.lang.annotation.Annotation[] annotations,
                                          MediaType mediaType)
Specified by:
decorate in interface DecoratorProcessor<javax.xml.bind.Marshaller,Formatted>
Parameters:
target - i.e. a Marshaller instance
annotation - the annotation that triggered the decorator
Returns:
should never return null


Copyright © 2009. All Rights Reserved.