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
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungadd(CharSequence text) Adds a string content to the existing content.Adds content to the existing content.intGibt the number of characters of plain text content in this object zurück.booleanisEmpty()Returns true if the content is empty.booleanWrites 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:ContentAdds content to the existing content.This is an optional operation.
-
add
Beschreibung aus Klasse kopiert:ContentAdds a string content to the existing content.This is an optional operation.
-
write
Beschreibung aus Klasse kopiert:ContentWrites content to a writer, using a given newline sequence, which should be either \n or the platform line separator.- Angegeben von:
writein 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:ContentReturns true if the content is empty. -
charCount
Beschreibung aus Klasse kopiert:ContentGibt the number of characters of plain text content in this object zurück.
-