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
DocletOutput
startOutput
in interface DocletOutput
IOException
public void endOutput() throws IOException
DocletOutput
endOutput
in interface DocletOutput
IOException
public void startClass(String className, String firstSentence, String fullDescription) throws IOException
DocletOutput
startClass
in interface DocletOutput
className
- fully qualified class namefirstSentence
- first sentence of class description, in HTMLfullDescription
- full text of class description, in HTMLIOException
public void endClass()
DocletOutput
endClass
in interface DocletOutput
public void startMember(String memberName, String memberType, String uniqueId, String description) throws IOException
DocletOutput
startMember
in interface DocletOutput
memberName
- 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 HTMLIOException
public void endMember() throws IOException
DocletOutput
endMember
in interface DocletOutput
IOException
public void outMemberItem(String name, String val) throws IOException
DocletOutput
outMemberItem
in interface DocletOutput
name
- item nameval
- item value, may be HTMLIOException
public void outParameters(DocletOutput.DocVariable[] params) throws IOException
DocletOutput
outParameters
in interface DocletOutput
params
- parameter listIOException
public void outReturn(String type, String comment) throws IOException
DocletOutput
outReturn
in interface DocletOutput
type
- return type specification for presentation to the usercomment
- description of returned value, may be HTMLIOException
public void outExamples(String heading, String[] examples) throws IOException
DocletOutput
outExamples
in interface DocletOutput
heading
- heading for examples sectionexamples
- list of example lines, may be HTMLIOException
public void outSees(String heading, String[] sees) throws IOException
DocletOutput
outSees
in interface DocletOutput
heading
- heading for See Also sectionsees
- list of entries, may be HTMLIOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.