Klasse ContentBuilder
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.toolkit.Content
org.jdrupes.mdoclet.internal.doclets.formats.html.markup.ContentBuilder
A sequence of Content nodes.
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungadd
(CharSequence text) Adds a string content to the existing content.Adds content to the existing content.int
Gibt the number of characters of plain text content in this object zurück.boolean
isEmpty()
Returns true if the content is empty.boolean
Writes content to a writer, using a given newline sequence, which should be either \n or the platform line separator.Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.toolkit.Content
addAll, isDiscardable, toString
-
Felddetails
-
contents
-
-
Konstruktordetails
-
ContentBuilder
public ContentBuilder() -
ContentBuilder
-
-
Methodendetails
-
add
Beschreibung aus Klasse kopiert:Content
Adds content to the existing content.This is an optional operation.
-
add
Beschreibung aus Klasse kopiert:Content
Adds a string content to the existing content.This is an optional operation.
-
write
Beschreibung aus Klasse kopiert:Content
Writes content to a writer, using a given newline sequence, which should be either \n or the platform line separator.- Angegeben von:
write
in KlasseContent
- Parameter:
writer
- the writernewline
- the newline sequence to useatNewline
- whether the writer has just written a newline- Gibt zurück:
- whether the writer has just written a newline
- Löst aus:
IOException
- if an error occurs while writing the output
-
isEmpty
Beschreibung aus Klasse kopiert:Content
Returns true if the content is empty. -
charCount
Beschreibung aus Klasse kopiert:Content
Gibt the number of characters of plain text content in this object zurück.
-