FileDocCategorySizeDatePackage
ClassSubWriter.javaAPI DocExample3590Wed Apr 19 11:17:10 BST 2000com.sun.tools.doclets.standard

ClassSubWriter

public class ClassSubWriter extends AbstractSubWriter
author
Robert Field
author
Atul M Dambalkar

Fields Summary
Constructors Summary
public ClassSubWriter(SubWriterHolderWriter writer, ClassDoc classdoc)

        super(writer, classdoc);
    
public ClassSubWriter(SubWriterHolderWriter writer)

        super(writer);
    
Methods Summary
public intgetMemberKind()

        return VisibleMemberMap.INNERCLASSES;
    
protected voidprintBodyHtmlEnd(com.sun.javadoc.ClassDoc cd)

        // N.A.
    
protected voidprintDeprecatedLink(com.sun.javadoc.ProgramElementDoc member)

        writer.printQualifiedClassLink((ClassDoc)member);
    
protected voidprintHeader(com.sun.javadoc.ClassDoc cd)

        // N.A.
    
public voidprintInheritedSummaryAnchor(com.sun.javadoc.ClassDoc cd)

        writer.anchor("inner_classes_inherited_from_class_" + 
                       cd.qualifiedName());
    
public voidprintInheritedSummaryLabel(com.sun.javadoc.ClassDoc cd)

        String clslink = writer.getPreQualifiedClassLink(cd);
        writer.bold();
        writer.printText("doclet.Inner_Classes_Inherited_From_Class", clslink);
        writer.boldEnd();
    
protected voidprintInheritedSummaryLink(com.sun.javadoc.ClassDoc cd, com.sun.javadoc.ProgramElementDoc member)

        writer.printClassLink((ClassDoc)member);
    
protected voidprintMember(com.sun.javadoc.ProgramElementDoc member)

        // N.A.
    
protected voidprintMemberLink(com.sun.javadoc.ProgramElementDoc member)

    
protected voidprintMembersSummaryLink(com.sun.javadoc.ClassDoc cd, com.sun.javadoc.ClassDoc icd, boolean link)

        if (link) {
            writer.printHyperLink(cd.name() + ".html",
                                  (cd == icd)? 
                                       "inner_class_summary":
                                       "inner_classes_inherited_from_class_" +
                                        icd.qualifiedName(),
                                 writer.getText("doclet.Inner_Class_Summary"));
        } else {               
            writer.printText("doclet.Inner_Class_Summary");
        } 
    
protected voidprintNavDetailLink(boolean link)

    
protected voidprintNavSummaryLink(com.sun.javadoc.ClassDoc cd, boolean link)

        if (link) {
            writer.printHyperLink("", (cd == null)? 
                                        "inner_class_summary":
                                        "inner_classes_inherited_from_class_" +
                                          cd.qualifiedName(),
                                  writer.getText("doclet.navInner"));
        } else {               
            writer.printText("doclet.navInner");
        } 
    
public voidprintSummaryAnchor(com.sun.javadoc.ClassDoc cd)

        writer.anchor("inner_class_summary"); 
    
public voidprintSummaryLabel(com.sun.javadoc.ClassDoc cd)

        writer.boldText("doclet.Inner_Class_Summary"); 
    
protected voidprintSummaryLink(com.sun.javadoc.ClassDoc cd, com.sun.javadoc.ProgramElementDoc member)

        writer.bold();
        writer.printClassLink((ClassDoc)member);
        writer.boldEnd();
    
protected voidprintSummaryType(com.sun.javadoc.ProgramElementDoc member)

        ClassDoc cd = (ClassDoc)member;
        printModifierAndType(cd, null);