|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Marker
A strategy for marking words.
When showing snippets to the user, it is necessary to highlight intervals, and to mark the
start and the end of an excerpt. The first effect is usually some kind of highlighting or boldfacing, the
second an ellipsis or similar punctuation. This class allows to create interchangeable markers for
different purposes or kind of text (e.g., TextMarker.TEXT_STANDOUT
,
TextMarker.HTML_STRONG
, and so on).
Method Summary | |
---|---|
String |
endOfBlock()
Returns the ending delimiter of a block. |
String |
endOfField()
Returns the ending delimiter of a field. |
String |
endOfMark()
Returns the ending delimiter of a marked part. |
String |
startOfBlock()
Returns the starting delimiter of a block. |
String |
startOfField()
Returns the starting delimiter of a field. |
String |
startOfMark()
Returns the starting delimiter of a marked part. |
Method Detail |
---|
String startOfMark()
String endOfMark()
String startOfBlock()
String endOfBlock()
String startOfField()
String endOfField()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |