Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thoughtworks.xstream.annotations
Class AnnotationProvider

    java.lang.Object
      com.thoughtworks.xstream.annotations.AnnotationProvider

Deprecated. since 1.3

    @Deprecated
    public class AnnotationProvider

extends Object

An utility class to provide annotations from different sources

Author:
  Guilherme Silveira

Constructor Summary
`AnnotationProvider()` Deprecated.

Method Summary
`
`<T extends Annotation> T`
` | `getAnnotation(Field field, Class<T> annotationClass)` Deprecated. since 1.3

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AnnotationProvider

    public AnnotationProvider()

  Deprecated.

Method Detail

### getAnnotation

    @Deprecated
    public <T extends Annotation> T getAnnotation(Field field,
                                                             Class<T> annotationClass)

  Deprecated. since 1.3

  Returns a field annotation based on an annotation type

  Parameters:
    `field` - the annotation Field
    `annotationClass` - the annotation Class
  Returns:
    The Annotation type

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 XStream. All Rights Reserved.