Modifier and Type | Field and Description |
---|---|
private final char | |
private int | |
private LinkedList |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv void | |
private DelimiterProcessor | |
public char | |
public int | getMinLength()
Implements jdk. Minimum number of delimiter characters that are needed to activate this. |
public char | |
public int | process(DelimiterRun
the opening delimiter run openingRun, DelimiterRun the closing delimiter run closingRun)Implements jdk. Process the delimiter runs. |
delim | back to summary |
---|---|
private final char delim |
minLength | back to summary |
---|---|
private int minLength |
processors | back to summary |
---|---|
private LinkedList<DelimiterProcessor> processors |
StaggeredDelimiterProcessor | back to summary |
---|---|
pack-priv StaggeredDelimiterProcessor(char delim) |
add | back to summary |
---|---|
pack-priv void add(DelimiterProcessor dp) |
findProcessor | back to summary |
---|---|
private DelimiterProcessor findProcessor(int len) |
getClosingCharacter | back to summary |
---|---|
public char getClosingCharacter() Implements jdk.
|
getMinLength | back to summary |
---|---|
public int getMinLength() Implements jdk. Doc from jdk. Minimum number of delimiter characters that are needed to activate this. Must be at least 1.
|
getOpeningCharacter | back to summary |
---|---|
public char getOpeningCharacter() Implements jdk.
|
process | back to summary |
---|---|
public int process(DelimiterRun openingRun, DelimiterRun closingRun) Implements jdk. Doc from jdk. Process the delimiter runs. The processor can examine the runs and the nodes and decide if it wants to process or not. If not, it should not change any nodes and return 0. If yes, it should do the processing (wrapping nodes, etc) and then return how many delimiters were used.
Note that removal (unlinking) of the used delimiter
|