1 package hotsax.html.sax;
2
3
4 /***
5 * Lval - extends HtmlParserVal (generatated by byacc/j)
6 * overrides toString function
7 * @author edh
8 */
9 public class Lval extends HtmlParserVal {
10
11 public Lval(String s)
12 {
13 super(s);
14 }
15
16 public Lval(Object o)
17 {
18 super(o);
19 }
20
21
22 public String toString() {
23 if (sval != null)
24 return sval;
25 else if (obj != null)
26 return obj.toString();
27 else
28 return "numeric";
29 }
30
31 }