org.jboss.resteasy.links.impl
Class LinkDecorator

java.lang.Object
  extended by org.jboss.resteasy.links.impl.LinkDecorator
All Implemented Interfaces:
DecoratorProcessor<javax.xml.bind.Marshaller,AddLinks>

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


Constructor Summary
LinkDecorator()
           
 
Method Summary
 javax.xml.bind.Marshaller decorate(javax.xml.bind.Marshaller target, AddLinks 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

LinkDecorator

public LinkDecorator()
Method Detail

decorate

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


Copyright © 2010. All Rights Reserved.