Class RawHtml
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.Content
-
- gw.gosudoc.com.sun.tools.doclets.formats.html.markup.RawHtml
-
@Deprecated public class RawHtml extends Content
Deprecated.Class for generating raw HTML content to be added to HTML pages of 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.
- Author:
- Bhavesh Patel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddContent(Content content)Deprecated.This method is not supported by the class.voidaddContent(String stringContent)Deprecated.This method is not supported by the class.intcharCount()Deprecated.Return the number of characters of plain text content in this object (optional operation.)booleanisEmpty()Deprecated.Returns true if the content is empty.StringtoString()Deprecated.Returns a string representation of the content.booleanwrite(Writer out, boolean atNewline)Deprecated.Writes content to a writer.
-
-
-
Field Detail
-
nbsp
public static final Content nbsp
Deprecated.
-
-
Constructor Detail
-
RawHtml
public RawHtml(String rawHtml)
Deprecated.Constructor to construct a RawHtml object.- Parameters:
rawHtml- raw HTML text to be added
-
-
Method Detail
-
addContent
public void addContent(Content content)
Deprecated.This method is not supported by the class.- Specified by:
addContentin classContent- Parameters:
content- content that needs to be added- Throws:
DocletAbortException- this method will always throw a DocletAbortException because it is not supported.
-
addContent
public void addContent(String stringContent)
Deprecated.This method is not supported by the class.- Specified by:
addContentin 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.
-
toString
public String toString()
Deprecated.Returns a string representation of the content.
-
charCount
public int charCount()
Deprecated.Description copied from class:ContentReturn the number of characters of plain text content in this object (optional operation.)
-
write
public boolean write(Writer out, boolean atNewline) throws IOException
Deprecated.Writes content to a writer.- Specified by:
writein classContent- Throws:
IOException
-
-