KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > incava > doctorj > InterfaceDocAnalyzer


1 package org.incava.doctorj;
2
3 import java.util.List JavaDoc;
4 import net.sourceforge.pmd.ast.ASTClassOrInterfaceDeclaration;
5 import org.incava.analysis.Report;
6 import org.incava.javadoc.*;
7
8
9 /**
10  * Analyzes Javadoc and code for an interface.
11  */

12 public class InterfaceDocAnalyzer extends TypeDocAnalyzer
13 {
14     public InterfaceDocAnalyzer(Report r, ASTClassOrInterfaceDeclaration node)
15     {
16         super(r, node);
17     }
18
19     public String JavaDoc getItemType()
20     {
21         return "interface";
22     }
23
24     /**
25      * Returns the valid tags, as strings, for interfaces.
26      */

27     protected List JavaDoc getValidTags()
28     {
29         return JavadocTags.getValidInterfaceTags();
30     }
31
32 }
33
Popular Tags