|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.analysis.javadoc.filter.ImplementsInterfaceFilter
public class ImplementsInterfaceFilter
Filters out all classes that do not implement a certain interface.
Constructor Summary | |
---|---|
ImplementsInterfaceFilter(Class<?> type) Default constructor. |
Method Summary | |
---|---|
com.sun.javadoc.ClassDoc |
accept(com.sun.javadoc.Doc doc) Filters the given Javadoc information. |
Class<?> |
getType() Returns the interface class to filter with. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImplementsInterfaceFilter(Class<?> type) throws NullPointerException
type
- the interface class to filter with.
NullPointerException
- if
type
is
null
.
Method Detail |
---|
public Class<?> getType()
public com.sun.javadoc.ClassDoc accept(com.sun.javadoc.Doc doc)
If the given argument is null
, null
is returned. This implies that the given information is not accepted.
accept
in interface
Filter
doc
- the Javadoc information to check for filtering.
Filter.accept(com.sun.javadoc.Doc)
null
if the element is not to accepted, an instance of
Doc
if is is. Note that the returned
Doc
may be a sub element of the
Doc
element passed as argument.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |