|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.Writer
java.io.PrintWriter
com.sun.tools.doclets.formats.html.markup.HtmlWriter
com.sun.tools.doclets.formats.html.markup.HtmlDocWriter
com.sun.tools.doclets.formats.html.HtmlDocletWriter
com.sun.tools.doclets.formats.html.SubWriterHolderWriter
com.sun.tools.doclets.formats.html.ClassWriterImpl
public class ClassWriterImpl
Generate the Class Information Page.
ClassDoc,
Collections,
List,
ArrayList,
HashMap| Field Summary | |
|---|---|
protected ClassDoc |
classDoc
|
protected ClassTree |
classtree
|
protected ClassDoc |
next
|
protected ClassDoc |
prev
|
| Fields inherited from class com.sun.tools.doclets.formats.html.HtmlDocletWriter |
|---|
configuration, displayLength, filename, path, relativePath, relativepathNoSlash |
| Fields inherited from class com.sun.tools.doclets.formats.html.markup.HtmlWriter |
|---|
fileseparator, htmlFilename, winTitle |
| Fields inherited from class java.io.PrintWriter |
|---|
out |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
ClassWriterImpl(ClassDoc classDoc,
ClassDoc prevClass,
ClassDoc nextClass,
ClassTree classTree)
|
|
| Method Summary | |
|---|---|
void |
completeMemberSummaryBuild()
Perform any operations that are necessary when the member summary finished building. |
ClassDoc |
getClassDoc()
Return the classDoc being documented. |
protected void |
navDetailLinks()
Method navDetailLinks |
protected void |
navGap()
|
protected void |
navLinkClass()
Print class page indicator |
protected void |
navLinkClassUse()
Print class use link |
protected void |
navLinkNext()
Print next package link |
protected void |
navLinkPackage()
Print this package link |
protected void |
navLinkPrevious()
Print previous package link |
protected void |
navLinkTree()
Print "Tree" link in the navigation bar. |
protected void |
navSummaryLinks()
|
protected void |
printSummaryDetailLinks()
Do nothing. |
void |
writeClassDeprecationInfo()
If this class is deprecated, write the appropriate information. |
void |
writeClassDescription()
Build the class description. |
private void |
writeClassLinks(int context,
java.util.List<?> list)
Generate links to the given classes. |
void |
writeClassSignature(java.lang.String modifiers)
Write the signature of the current class. |
void |
writeClassTagInfo()
Write the tag information for the current class. |
void |
writeClassTree()
Print the class hierarchy tree for this class only. |
void |
writeFooter()
Write the footer of the page. |
void |
writeHeader(java.lang.String header)
Write the header of the page. |
void |
writeImplementedInterfacesInfo()
Write all implemented interfaces if this is a class. |
void |
writeInterfaceUsageInfo()
If this is the interface which are the classes, that implement this? |
void |
writeNestedClassInfo()
If this is an inner class or interface, write the enclosing class or interface. |
private void |
writeStep(int indent)
Generate the indent and get the line image for the class tree. |
void |
writeSubClassInfo()
Write all the classes that extend this one. |
void |
writeSubInterfacesInfo()
Write all the interfaces that extend this one. |
void |
writeSuperInterfacesInfo()
Write all super interfaces if this is an interface. |
private int |
writeTreeForClassHelper(Type type)
Print the class hierarchy tree for the given class. |
void |
writeTypeParamInfo()
Write the type parameter information. |
| Methods inherited from class com.sun.tools.doclets.formats.html.SubWriterHolderWriter |
|---|
printIndexComment, printIndexComment, printInheritedSummaryFooter, printInheritedSummaryHeader, printInheritedSummaryMember, printMemberFooter, printMemberHeader, printSummaryFooter, printSummaryHeader, printSummaryLinkComment, printSummaryLinkComment, printSummaryLinkType, printTableHeadingBackground, printTypeSummaryFooter, printTypeSummaryHeader |
| Methods inherited from class com.sun.tools.doclets.formats.html.markup.HtmlDocWriter |
|---|
getHyperLink, getHyperLink, getHyperLink, getHyperLink, getPkgName, printBodyHtmlEnd, printFooter, printFrameFooter, printFramesetHeader, printFramesetHeader, printHyperLink, printHyperLink, printHyperLink, printHyperLink, printNbsps, printPkgName, spaces, today |
| Methods inherited from class java.io.PrintWriter |
|---|
append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.tools.doclets.internal.toolkit.ClassWriter |
|---|
close |
| Field Detail |
|---|
protected ClassDoc classDoc
protected ClassTree classtree
protected ClassDoc prev
protected ClassDoc next
| Constructor Detail |
|---|
public ClassWriterImpl(ClassDoc classDoc,
ClassDoc prevClass,
ClassDoc nextClass,
ClassTree classTree)
throws java.lang.Exception
classDoc - the class being documented.prevClass - the previous class that was documented.nextClass - the next class being documented.classTree - the class tree for the given class.
java.lang.Exception| Method Detail |
|---|
protected void navLinkPackage()
navLinkPackage in class HtmlDocletWriterprotected void navLinkClass()
navLinkClass in class HtmlDocletWriterprotected void navLinkClassUse()
navLinkClassUse in class HtmlDocletWriterprotected void navLinkPrevious()
navLinkPrevious in class HtmlDocletWriterprotected void navLinkNext()
navLinkNext in class HtmlDocletWriterpublic void writeHeader(java.lang.String header)
writeHeader in interface ClassWriterheader - the header to write.public void writeFooter()
writeFooter in interface ClassWriterpublic void writeClassSignature(java.lang.String modifiers)
writeClassSignature in interface ClassWritermodifiers - the modifiers for the signature.public void writeClassDescription()
writeClassDescription in interface ClassWriterpublic void writeClassTagInfo()
writeClassTagInfo in interface ClassWriterpublic void writeClassDeprecationInfo()
writeClassDeprecationInfo in interface ClassWriterprivate void writeStep(int indent)
private int writeTreeForClassHelper(Type type)
type - the class to print the hierarchy for.
public void writeClassTree()
writeClassTree in interface ClassWriterpublic void writeTypeParamInfo()
writeTypeParamInfo in interface ClassWriterpublic void writeSubClassInfo()
writeSubClassInfo in interface ClassWriterpublic void writeSubInterfacesInfo()
writeSubInterfacesInfo in interface ClassWriterpublic void writeInterfaceUsageInfo()
writeInterfaceUsageInfo in interface ClassWriterpublic void writeImplementedInterfacesInfo()
writeImplementedInterfacesInfo in interface ClassWriterpublic void writeSuperInterfacesInfo()
writeSuperInterfacesInfo in interface ClassWriter
private void writeClassLinks(int context,
java.util.List<?> list)
protected void navLinkTree()
HtmlDocletWriter
navLinkTree in class HtmlDocletWriterprotected void printSummaryDetailLinks()
HtmlDocletWriter
printSummaryDetailLinks in class HtmlDocletWriter
protected void navSummaryLinks()
throws java.lang.Exception
java.lang.Exception
protected void navDetailLinks()
throws java.lang.Exception
java.lang.Exceptionprotected void navGap()
public void writeNestedClassInfo()
writeNestedClassInfo in interface ClassWriterpublic ClassDoc getClassDoc()
getClassDoc in interface ClassWriterpublic void completeMemberSummaryBuild()
completeMemberSummaryBuild in interface ClassWriter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||