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

java.lang.Object
  extended by org.jboss.resteasy.plugins.providers.jaxb.XmlHeaderProcessor
All Implemented Interfaces:
DecoratorProcessor<Marshaller,XmlHeader>

public class XmlHeaderProcessor
extends Object
implements DecoratorProcessor<Marshaller,XmlHeader>

Version:
$Revision: 1 $
Author:
Bill Burke

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

Constructor Detail

XmlHeaderProcessor

public XmlHeaderProcessor()
Method Detail

decorate

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


Copyright © 2011. All Rights Reserved.