|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for a full s-expression parser.
Method Summary | |
SExprParser |
addParser(char key,
SExprParser parser)
Associate an input character with a "sub-parser." |
boolean |
getListsAsVectors()
Checks whether lists are to be parsed as Vectors or Cons cells. |
Readtable |
getReadtable()
Access the dispatch table of the parser. |
java.lang.StringBuffer |
getScratchBuffer()
Accesses an empty string buffer available temporary storage. |
java.util.Dictionary |
getSymbols()
Access the symbol table of the parser. |
java.lang.Object |
parse()
Parse a single object from the stream. |
int |
read()
Read a single character from the stream. |
char |
readSkipWhite()
Reads from the stream, skipping whitespace. |
boolean |
setListsAsVectors(boolean listsAsVectors)
Controls whether parsed lists are Vectors or Cons cells. |
Readtable |
setReadtable(Readtable readtable)
Assign the dispatch table of the parser. |
java.util.Dictionary |
setSymbols(java.util.Dictionary symbols)
Assign the symbol table of the parser. |
Methods inherited from interface org.w3c.tools.sexpr.SExprParser |
parse |
Method Detail |
public java.lang.Object parse() throws SExprParserException, java.io.IOException
public java.util.Dictionary getSymbols()
public java.util.Dictionary setSymbols(java.util.Dictionary symbols)
public Readtable getReadtable()
public Readtable setReadtable(Readtable readtable)
public SExprParser addParser(char key, SExprParser parser)
public boolean getListsAsVectors()
public boolean setListsAsVectors(boolean listsAsVectors)
public java.lang.StringBuffer getScratchBuffer()
public char readSkipWhite() throws java.io.IOException
public int read() throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |