|
Doclet API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a java package. Provides access to information about the package, the package's comment and tags, and the classes in the package.
Method Summary | |
ClassDoc[] |
allClasses()
Get all included classes and interfaces in the package. |
ClassDoc[] |
allClasses(boolean filter)
Get all classes and interfaces in the package, filtered to the specified access modifier option. |
ClassDoc[] |
errors()
Get included Error classes in this package. |
ClassDoc[] |
exceptions()
Get included Exception classes in this package. |
ClassDoc |
findClass(String className)
Lookup a class or interface within this package. |
ClassDoc[] |
interfaces()
Get included Interfaces in this package. |
ClassDoc[] |
ordinaryClasses()
Get included ordinary classes (that is, exclude exceptions, errors and interfaces) in this package. |
Methods inherited from interface com.sun.javadoc.Doc |
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isClass, isConstructor, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, position, seeTags, setRawCommentText, tags, tags |
Method Detail |
public ClassDoc[] allClasses(boolean filter)
filter
- Specifying true filters according to the specified access
modifier option.
Specifying false includes all classes and interfaces
regardless of access modifier option.
public ClassDoc[] allClasses()
public ClassDoc[] ordinaryClasses()
public ClassDoc[] exceptions()
public ClassDoc[] errors()
public ClassDoc[] interfaces()
public ClassDoc findClass(String className)
|
Doclet API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |