org.jboss.resteasy.core.interception

## Class DecoratorMatcher

- java.lang.Object
- - org.jboss.resteasy.core.interception.DecoratorMatcher

-     public class DecoratorMatcher
      extends Object

  Finds DecoratorProcessors and calls decorates on them by introspecting annotations.
  Version:
    $Revision: 1 $
  Author:
    Bill Burke
  See Also:
    `DecoratorProcessor`, `DecorateTypes`, `Decorator`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DecoratorMatcher()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | `decorate(Class<T> targetClass, T target, 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

    - #### DecoratorMatcher

          public DecoratorMatcher()

  - ### Method Detail

    - #### decorate

          public <T> T decorate(Class<T> targetClass,
                       T target,
                       Class type,
                       Annotation[] annotations,
                       MediaType mediaType)

      Type Parameters:
        `T` -
      Parameters:
        `targetClass` - i.e. Marshaller
        `target` -
        `type` - i.e. a JAXB annotated class
        `annotations` - i.e. method or parameter annotations
        `mediaType` -
      Returns:

Copyright © 2014. All Rights Reserved.