|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.tools.sexpr.SimpleReadtable
public class SimpleReadtable
Basic implementation of the Readtable interface, a dispatch table.
| Constructor Summary | |
|---|---|
SimpleReadtable()
Initializes an empty dispatch table (no associations). |
|
SimpleReadtable(SimpleReadtable table)
Copy constructor. |
|
| Method Summary | |
|---|---|
SExprParser |
addParser(char key,
SExprParser parser)
Associate a parser with the key dispatch character. |
SExprParser |
getParser(char key)
Find the parser associated with the key dispatch character. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleReadtable()
public SimpleReadtable(SimpleReadtable table)
| Method Detail |
|---|
public SExprParser getParser(char key)
Readtable
getParser in interface Readtable
public SExprParser addParser(char key,
SExprParser parser)
Readtable
addParser in interface Readtable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||