public abstract static class TextSource.AggregatedTextSource extends TextSource
TextSource.AggregatedTextSource, TextSource.CompoundTextSource, TextSource.DirectTextSource, TextSource.StaticTextSource
Modifier and Type | Field and Description |
---|---|
protected java.lang.StringBuilder |
buffer |
Constructor and Description |
---|
TextSource.AggregatedTextSource() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
aggregateText(java.lang.Object data,
Options env)
Creates an aggregated text in the internal buffer.
|
java.lang.String |
getText(java.lang.Object data,
Options env) |
getDefaultText, getExternalForm, setDefaultText, setExternalForm, toString
public java.lang.String getText(java.lang.Object data, Options env)
getText
in class TextSource
protected abstract boolean aggregateText(java.lang.Object data, Options env)
true
iff the buffer contains valid data. A return value of false
indicates
that this TextSource
's default text should be returned;