Class ContentBuilder
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.Content
-
- gw.gosudoc.com.sun.tools.doclets.formats.html.markup.ContentBuilder
-
@Deprecated public class ContentBuilder extends Content
Deprecated.A sequence of Content nodes.
-
-
Constructor Summary
Constructors Constructor Description ContentBuilder()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddContent(Content content)Deprecated.Adds content to the existing content.voidaddContent(String text)Deprecated.Adds a string content to the existing content.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.booleanwrite(Writer writer, boolean atNewline)Deprecated.Writes content to a writer.
-
-
-
Method Detail
-
addContent
public void addContent(Content content)
Deprecated.Description copied from class:ContentAdds content to the existing content.- Specified by:
addContentin classContent- Parameters:
content- content that needs to be added
-
addContent
public void addContent(String text)
Deprecated.Description copied from class:ContentAdds a string content to the existing content.- Specified by:
addContentin classContent- Parameters:
text- the string content to be added
-
write
public boolean write(Writer writer, boolean atNewline) throws IOException
Deprecated.Description copied from class:ContentWrites content to a writer.- Specified by:
writein classContent- Throws:
IOException
-
isEmpty
public boolean isEmpty()
Deprecated.Description copied from class:ContentReturns true if the content is empty.
-
-