wt.tools.xref
Class CodebaseOutput

java.lang.Object
  extended bywt.tools.xref.CodebaseOutput

public class CodebaseOutput
extends Object


Field Summary
(package private)  CodebaseXref d_cx
           
(package private)  OutputHelper d_oh
           
 
Constructor Summary
CodebaseOutput(CodebaseXref cx)
           
 
Method Summary
(package private)  void _outputClassChildren(String className)
          This method recurses to the bottom of the inheritance hierarchy for the specified class and then descends back down to the specified className, outputting the name of each class on the way back down.
(package private)  void _outputClassParents(String className)
          This method recurses to the top of the inheritance hierarchy for the specified class and then descends back down to the specified className, outputting the name of each class on the way back down.
(package private)  void _outputInterfaceChildren(String interfaceName)
          This method recurses to the bottom of the inheritance hierarchy for the specified class and then descends back down to the specified className, outputting the name of each class on the way back down.
(package private)  void _outputInterfaceParents(String interfaceName)
          This method recurses to the top of the inheritance hierarchy for the specified interface and then descends back down to the specified interfaceName, outputting the name of each interface on the way back down.
(package private)  String methodSignature(Method m)
           
(package private)  void outputClassChildren(String className)
          This method is a wrapper method for the _outputSuperClasses() method, which is mainly used to call the increaseIndent() and decreaseIndent() methods.
(package private)  void outputClasses(Package p)
           
(package private)  void outputClassParents(String className)
          This method is a wrapper method for the _outputSuperClasses() method, which is mainly used to call the increaseIndent() and decreaseIndent() methods.
(package private)  void outputFields(ClassInterface ci)
           
(package private)  void outputHashtable(String title, Hashtable ht)
          This generic method is used by outputMethods() to display the contents of each of the where used containers in a Method object.
(package private)  void outputInstantiatedBy(ClassInterface ci)
           
(package private)  void outputInterfaceChildren(String interfaceName)
          This method is a wrapper method for the _outputSuperClasses() method, which is mainly used to call the increaseIndent() and decreaseIndent() methods.
(package private)  void outputInterfaceParents(String interfaceName)
          This method is a wrapper method for the _outputInterfaceParents() method, which is mainly used to call the increaseIndent() and decreaseIndent() methods.
(package private)  void outputInterfaces(Package p)
           
(package private)  void outputMethods(ClassInterface ci)
           
(package private)  void outputPackagesClassesAndInterfaces()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

d_cx

CodebaseXref d_cx

d_oh

OutputHelper d_oh
Constructor Detail

CodebaseOutput

public CodebaseOutput(CodebaseXref cx)
               throws IOException
Method Detail

_outputInterfaceParents

void _outputInterfaceParents(String interfaceName)
This method recurses to the top of the inheritance hierarchy for the specified interface and then descends back down to the specified interfaceName, outputting the name of each interface on the way back down.


outputInterfaceParents

void outputInterfaceParents(String interfaceName)
This method is a wrapper method for the _outputInterfaceParents() method, which is mainly used to call the increaseIndent() and decreaseIndent() methods. These two methods together display the inherited interfaces from the topmost interface down through the specified interfaceName. _outputInterfaceParents() accomplishes this by recursing up through the d_interfaceParents container and then once it reaches the top of the hierarchy, it then starts outputting class names and unwinding the stack.


_outputInterfaceChildren

void _outputInterfaceChildren(String interfaceName)
This method recurses to the bottom of the inheritance hierarchy for the specified class and then descends back down to the specified className, outputting the name of each class on the way back down.


outputInterfaceChildren

void outputInterfaceChildren(String interfaceName)
This method is a wrapper method for the _outputSuperClasses() method, which is mainly used to call the increaseIndent() and decreaseIndent() methods. These two methods together display the inherited classes from the topmost super class down through the specified className. _outputSuperClasses() accomplishes this by recursing up through the d_classParents container and then once it reaches the top of the hierarchy, it then starts outputting class names and unwinding the stack. This method can also be used in a general way to output all the descendent classes for a specific class, for example: outputClassChildren("java.lang.Object") would output a hierarchical display of all classes in the codebase that was just processed that are derived from java.lang.Object. This would be especially useful for creating a class hierarchy of classes in Javadoc-like output.


_outputClassParents

void _outputClassParents(String className)
This method recurses to the top of the inheritance hierarchy for the specified class and then descends back down to the specified className, outputting the name of each class on the way back down.


outputClassParents

void outputClassParents(String className)
This method is a wrapper method for the _outputSuperClasses() method, which is mainly used to call the increaseIndent() and decreaseIndent() methods. These two methods together display the inherited classes from the topmost super class down through the specified className. _outputSuperClasses() accomplishes this by recursing up through the d_classParents container and then once it reaches the top of the hierarchy, it then starts outputting class names and unwinding the stack.


_outputClassChildren

void _outputClassChildren(String className)
This method recurses to the bottom of the inheritance hierarchy for the specified class and then descends back down to the specified className, outputting the name of each class on the way back down.


outputClassChildren

void outputClassChildren(String className)
This method is a wrapper method for the _outputSuperClasses() method, which is mainly used to call the increaseIndent() and decreaseIndent() methods. These two methods together display the inherited classes from the topmost super class down through the specified className. _outputSuperClasses() accomplishes this by recursing up through the d_classParents container and then once it reaches the top of the hierarchy, it then starts outputting class names and unwinding the stack. This method can also be used in a general way to output all the descendent classes for a specific class, for example: outputClassChildren("java.lang.Object") would output a hierarchical display of all classes in the codebase that was just processed that are derived from java.lang.Object. This would be especially useful for creating a class hierarchy of classes in Javadoc-like output.


outputFields

void outputFields(ClassInterface ci)

outputInstantiatedBy

void outputInstantiatedBy(ClassInterface ci)

outputHashtable

void outputHashtable(String title,
                     Hashtable ht)
This generic method is used by outputMethods() to display the contents of each of the where used containers in a Method object.


outputMethods

void outputMethods(ClassInterface ci)

methodSignature

String methodSignature(Method m)

outputInterfaces

void outputInterfaces(Package p)

outputClasses

void outputClasses(Package p)

outputPackagesClassesAndInterfaces

void outputPackagesClassesAndInterfaces()

run

public void run()