public class MarkerListFormatter extends Object implements ListFormatter
Modifier and Type | Class and Description |
---|---|
static class |
MarkerListFormatter.Group
Group of marker list formatters which share a common configuration.
|
Modifier and Type | Field and Description |
---|---|
protected String |
markedText |
protected ListFormatter |
parent |
protected String |
textAfter |
protected String |
textBefore |
Constructor and Description |
---|
MarkerListFormatter(ListFormatter _parent,
String _markedText,
String _textBefore,
String _textAfter) |
MarkerListFormatter(MarkerListFormatter.Group _group,
ListFormatter _parent) |
Modifier and Type | Method and Description |
---|---|
ListFormatter |
addItem(Object item) |
StringBuilder |
endList() |
StringBuilder |
getBuffer() |
String |
getMarkedText() |
Pattern |
getPattern() |
String |
getTextAfter() |
String |
getTextBefore() |
ListFormatter |
newList(StringBuilder _buffer,
int _length) |
protected static String |
normalize(String in) |
void |
setMarkedText(String _markedText) |
void |
setTextAfter(String _textAfter) |
void |
setTextBefore(String _textBefore) |
protected ListFormatter parent
protected String markedText
protected String textBefore
protected String textAfter
public MarkerListFormatter(ListFormatter _parent, String _markedText, String _textBefore, String _textAfter)
public MarkerListFormatter(MarkerListFormatter.Group _group, ListFormatter _parent)
public void setMarkedText(String _markedText)
public void setTextBefore(String _textBefore)
public void setTextAfter(String _textAfter)
public String getMarkedText()
public String getTextBefore()
public String getTextAfter()
public ListFormatter newList(StringBuilder _buffer, int _length)
newList
in interface ListFormatter
public ListFormatter addItem(Object item)
addItem
in interface ListFormatter
public StringBuilder endList()
endList
in interface ListFormatter
public StringBuilder getBuffer()
getBuffer
in interface ListFormatter
public Pattern getPattern()
getPattern
in interface ListFormatter
Copyright © 2001-2013 the JGloss developers. All Rights Reserved.