org.apache.felix.scrplugin.tags.annotation.sling
Class SlingAnnotationTagProvider

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

public class SlingAnnotationTagProvider
extends Object
implements AnnotationTagProvider

Annotation tag provider for sling-specific SCR annotations.


Constructor Summary
SlingAnnotationTagProvider()
           
 
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

SlingAnnotationTagProvider

public SlingAnnotationTagProvider()
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(com.thoughtworks.qdox.model.Annotation, org.apache.felix.scrplugin.tags.annotation.AnnotationJavaClassDescription, org.apache.felix.scrplugin.tags.JavaField)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.