public class HtmlDocletOutput extends Object implements DocletOutput
MethodBrowser.DocletOutput.DocVariable| Constructor and Description |
|---|
HtmlDocletOutput(File baseDir,
boolean isHeadings)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endClass()
End output of documentation for the most recently started class.
|
void |
endMember()
End output of the most recently started member.
|
void |
endOutput()
Called at the end of operation.
|
void |
outExamples(String heading,
String[] examples)
Writes one or more example entries.
|
void |
outMemberItem(String name,
String val)
Writes a name-value pair presenting an attribute of a class member
(field or method).
|
void |
outParameters(DocletOutput.DocVariable[] params)
Writes a description of the parameters of a method.
|
void |
outReturn(String type,
String comment)
Writes information about the return value of a method.
|
void |
outSees(String heading,
String[] sees)
Writes one or more See Also entries.
|
void |
startClass(String className,
String firstSentence,
String fullDescription)
Begin output of documentation for a given class.
|
void |
startMember(String memberName,
String memberType,
String uniqueId,
String description)
Begin output of documentation for a given class member (field or method).
|
void |
startOutput()
Called at the start of operation.
|
public HtmlDocletOutput(File baseDir, boolean isHeadings)
baseDir - base directoryisHeadings - if true, writes a couple of extra filespublic void startOutput()
throws IOException
DocletOutputstartOutput in interface DocletOutputIOExceptionpublic void endOutput()
throws IOException
DocletOutputendOutput in interface DocletOutputIOExceptionpublic void startClass(String className, String firstSentence, String fullDescription) throws IOException
DocletOutputstartClass in interface DocletOutputclassName - fully qualified class namefirstSentence - first sentence of class description, in HTMLfullDescription - full text of class description, in HTMLIOExceptionpublic void endClass()
DocletOutputendClass in interface DocletOutputpublic void startMember(String memberName, String memberType, String uniqueId, String description) throws IOException
DocletOutputstartMember in interface DocletOutputmemberName - user-readable name of the membermemberType - some user-readable (maybe avoiding technical terms)
description of what kind of member it isuniqueId - string uniquely identifying this member within
its parent classdescription - full text of member description, in HTMLIOExceptionpublic void endMember()
throws IOException
DocletOutputendMember in interface DocletOutputIOExceptionpublic void outMemberItem(String name, String val) throws IOException
DocletOutputoutMemberItem in interface DocletOutputname - item nameval - item value, may be HTMLIOExceptionpublic void outParameters(DocletOutput.DocVariable[] params) throws IOException
DocletOutputoutParameters in interface DocletOutputparams - parameter listIOExceptionpublic void outReturn(String type, String comment) throws IOException
DocletOutputoutReturn in interface DocletOutputtype - return type specification for presentation to the usercomment - description of returned value, may be HTMLIOExceptionpublic void outExamples(String heading, String[] examples) throws IOException
DocletOutputoutExamples in interface DocletOutputheading - heading for examples sectionexamples - list of example lines, may be HTMLIOExceptionpublic void outSees(String heading, String[] sees) throws IOException
DocletOutputoutSees in interface DocletOutputheading - heading for See Also sectionsees - list of entries, may be HTMLIOExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.