01: /*
02: * Readtable.java
03: *
04: * Copyright 1997 Massachusetts Institute of Technology.
05: * All Rights Reserved.
06: *
07: * Author: Ora Lassila
08: *
09: * $Id: Readtable.java,v 1.2 1998/01/22 13:08:55 bmahe Exp $
10: */
11:
12: package org.w3c.tools.sexpr;
13:
14: /**
15: * An interface for read tables.
16: */
17: public interface Readtable {
18:
19: /**
20: * Find the parser associated with the <i>key</i> dispatch character.
21: */
22: public SExprParser getParser(char key);
23:
24: /**
25: * Associate a parser with the <i>key</i> dispatch character.
26: */
27: public SExprParser addParser(char key, SExprParser parser);
28:
29: }
|