Contents | Package | Class | Tree | Index
PREV | NEXT SHOW LISTS | HIDE LISTS

Class sun.tools.javadoc.doclets.ClassTree

sun.tools.javadoc.doclets.ClassTree

public class ClassTree
Build Class Hierarchy for all the Classes. This class builds the Class Tree and the Interface Tree separately.

See Also:
java.util.HashMap, java.util.List, sun.tools.javadoc.Type, sun.tools.javadoc.ClassDoc

Constructor Summary
 ClassTree(sun.tools.javadoc.doclets.Root root)
          Constructor.
 ClassTree(sun.tools.javadoc.doclets.ClassDoc[] classes)
          Constructor.
 

Method Summary
sun.tools.javadoc.doclets.List  baseclasses()
          Return the base-classes list.
sun.tools.javadoc.doclets.List  baseinterfaces()
          Return the list for the base interfaces.
sun.tools.javadoc.doclets.List  implementingclasses(sun.tools.javadoc.doclets.ClassDoc cd)
          Return the list of classes which implement the interface passed.
sun.tools.javadoc.doclets.List  subclasses(sun.tools.javadoc.doclets.ClassDoc cd)
          Return the sub-class list for the class passed.
sun.tools.javadoc.doclets.List  subinterfaces(sun.tools.javadoc.doclets.ClassDoc cd)
          Return the sub-interface list for the interface passed.
sun.tools.javadoc.doclets.List  subs(sun.tools.javadoc.doclets.ClassDoc cd)
          Return the sub-class/interface list for the class/interface passed.
 

Constructor Detail

ClassTree

public ClassTree(sun.tools.javadoc.doclets.Root root)
          Constructor. Build the Tree using the Root of this Javadoc.
Parameters:
root - Root of the Document.

ClassTree

public ClassTree(sun.tools.javadoc.doclets.ClassDoc[] classes)
          Constructor. Build the tree for the given array of classes.
Parameters:
classes - Array of classes.
Method Detail

subclasses

public sun.tools.javadoc.doclets.List subclasses(sun.tools.javadoc.doclets.ClassDoc cd)
          Return the sub-class list for the class passed.

subinterfaces

public sun.tools.javadoc.doclets.List subinterfaces(sun.tools.javadoc.doclets.ClassDoc cd)
          Return the sub-interface list for the interface passed.

implementingclasses

public sun.tools.javadoc.doclets.List implementingclasses(sun.tools.javadoc.doclets.ClassDoc cd)
          Return the list of classes which implement the interface passed.

subs

public sun.tools.javadoc.doclets.List subs(sun.tools.javadoc.doclets.ClassDoc cd)
          Return the sub-class/interface list for the class/interface passed.

baseclasses

public sun.tools.javadoc.doclets.List baseclasses()
          Return the base-classes list. This will have only one element namely classdoc for java.lang.Object, since this is the base class for all the classes.

baseinterfaces

public sun.tools.javadoc.doclets.List baseinterfaces()
          Return the list for the base interfaces. This is the list of interfaces which do not have super-interface.

Contents | Package | Class | Tree | Index
PREV | NEXT SHOW LISTS | HIDE LISTS