Class HtmlDocument
java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.Content
gw.gosudoc.com.sun.tools.doclets.formats.html.markup.HtmlDocument
Deprecated.
Class for generating an HTML document for javadoc output.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHtmlDocument
(Content docType, Content htmlTree) Deprecated.Constructor to construct an HTML document.HtmlDocument
(Content docType, Content docComment, Content htmlTree) Deprecated.Constructor to construct an HTML document. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addContent
(Content htmlContent) Deprecated.Adds content for the HTML document.void
addContent
(String stringContent) Deprecated.This method is not supported by the class.boolean
isEmpty()
Deprecated.Returns true if the content is empty.boolean
Deprecated.Writes content to a writer.
-
Field Details
-
docContent
Deprecated.
-
-
Constructor Details
-
HtmlDocument
Deprecated.Constructor to construct an HTML document.- Parameters:
docType
- document type for the HTML documentdocComment
- comment for the documenthtmlTree
- HTML tree of the document
-
HtmlDocument
Deprecated.Constructor to construct an HTML document.- Parameters:
docType
- document type for the HTML documenthtmlTree
- HTML tree of the document
-
-
Method Details
-
addContent
Deprecated.Adds content for the HTML document.- Specified by:
addContent
in classContent
- Parameters:
htmlContent
- html content to be added
-
addContent
Deprecated.This method is not supported by the class.- Specified by:
addContent
in classContent
- Parameters:
stringContent
- string content that needs to be added- Throws:
DocletAbortException
- this method will always throw a DocletAbortException because it is not supported.
-
isEmpty
public boolean isEmpty()Deprecated.Returns true if the content is empty. -
write
Deprecated.Writes content to a writer.- Specified by:
write
in classContent
- Throws:
IOException
-