Class XmlHeaderProcessor

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

public class XmlHeaderProcessor extends Object implements DecoratorProcessor<jakarta.xml.bind.Marshaller,XmlHeader>
Version:
$Revision: 1 $
Author:
Bill Burke
  • Constructor Details

    • XmlHeaderProcessor

      public XmlHeaderProcessor()
  • Method Details

    • decorate

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