public interface MarkerProcessor
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
processAttributes(TextAttribute atts,
java.lang.String... text)
Processes the input text and attributes into a text containing
markers at the appropriate positions.
|
java.lang.String[] |
processAttributesRetain(TextAttribute atts,
java.lang.String[] text)
Processes the input text chunks and attributes into a text containing
markers at the appropriate positions while retaining the text
partition as specified by the input array.
|
java.lang.String processAttributes(TextAttribute atts, java.lang.String... text)
atts - the text attributes that apply to the text.text - the text(s) to processjava.lang.IllegalArgumentException - if the specified attributes does not
match the text.java.lang.String[] processAttributesRetain(TextAttribute atts, java.lang.String[] text)
text - the texts to processatts - the text attributes that apply to the text.java.lang.IllegalArgumentException - if the specified attributes does not
match the text.