org.apache.felix.scrplugin.tags.annotation.defaulttag
Class DefaultAnnotationTagProvider

java.lang.Object
  extended by org.apache.felix.scrplugin.tags.annotation.defaulttag.DefaultAnnotationTagProvider
All Implemented Interfaces:
AnnotationTagProvider

public class DefaultAnnotationTagProvider
extends Object
implements AnnotationTagProvider

Provides mapping of default SCR annotations to tag implementations.


Constructor Summary
DefaultAnnotationTagProvider()
           
 
Method Summary
 List<JavaTag> getTags(com.thoughtworks.qdox.model.Annotation annotation, AnnotationJavaClassDescription description, JavaField field)
          Maps a annotation to one or many JavaTag implementations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAnnotationTagProvider

public DefaultAnnotationTagProvider()
Method Detail

getTags

public List<JavaTag> getTags(com.thoughtworks.qdox.model.Annotation annotation,
                             AnnotationJavaClassDescription description,
                             JavaField field)
Description copied from interface: AnnotationTagProvider
Maps a annotation to one or many JavaTag implementations.

Specified by:
getTags in interface AnnotationTagProvider
Parameters:
annotation - Java annotation
description - Annotations-based java class description
field - Reference to field (set on field-level annotations, null on other annotations)
Returns:
List of tag implementations. Return empty list if this provider cannot map the annotation to any tag instance.
See Also:
AnnotationTagProvider.getTags(Annotation, org.apache.felix.scrplugin.tags.annotation.AnnotationJavaClassDescription, org.apache.felix.scrplugin.tags.JavaField)


Copyright © 2011 Apache Software Foundation. All Rights Reserved.