Class | Line # | Actions | |||
---|---|---|---|---|---|
NullRule | 16 | 1 | 3 |
1 | // | |
2 | // This software is now distributed according to | |
3 | // the Lesser Gnu Public License. Please see | |
4 | // http://www.gnu.org/copyleft/lesser.txt for | |
5 | // the details. | |
6 | // -- Happy Computing! | |
7 | // | |
8 | package com.stevesoft.pat; | |
9 | ||
10 | /** | |
11 | * The apply(StringBufferLike sb,RegRes res) method of this derivation of | |
12 | * ReplaceRule appends nothing to the contents of the StringBuffer sb. | |
13 | * | |
14 | * @see com.stevesoft.pat.ReplaceRule | |
15 | */ | |
16 | public class NullRule extends ReplaceRule | |
17 | { | |
18 | 0 | public NullRule() |
19 | { | |
20 | } | |
21 | ||
22 | 0 | public void apply(StringBufferLike sb, RegRes res) |
23 | { | |
24 | } | |
25 | ||
26 | 0 | public String toString1() |
27 | { | |
28 | 0 | return ""; |
29 | } | |
30 | } |