Class StringContent
java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.Content
gw.gosudoc.com.sun.tools.doclets.formats.html.markup.StringContent
Deprecated.
Class for generating string content for HTML tags 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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructor to construct StringContent object.StringContent(String initialContent) Deprecated.Constructor to construct StringContent object with some initial content. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContent(Content content) Deprecated.This method is not supported by the class.voidaddContent(String strContent) Deprecated.Adds content for the StringContent object.private voidDeprecated.intDeprecated.Return the number of characters of plain text content in this object (optional operation.)booleanisEmpty()Deprecated.Returns true if the content is empty.toString()Deprecated.Returns a string representation of the content.booleanDeprecated.Writes content to a writer.
-
Field Details
-
stringContent
Deprecated.
-
-
Constructor Details
-
StringContent
public StringContent()Deprecated.Constructor to construct StringContent object. -
StringContent
Deprecated.Constructor to construct StringContent object with some initial content.- Parameters:
initialContent- initial content for the object
-
-
Method Details
-
addContent
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
Deprecated.Adds content for the StringContent object. The method escapes HTML characters for the string content that is added.- Specified by:
addContentin classContent- Parameters:
strContent- string content to be added
-
isEmpty
public boolean isEmpty()Deprecated.Returns true if the content is empty. -
charCount
public int charCount()Deprecated.Description copied from class:ContentReturn the number of characters of plain text content in this object (optional operation.) -
toString
Deprecated.Returns a string representation of the content. -
write
Deprecated.Writes content to a writer.- Specified by:
writein classContent- Throws:
IOException
-
appendChars
Deprecated.
-