|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SExprStream
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 |
---|
java.lang.Object parse() throws SExprParserException, java.io.IOException
SExprParserException
java.io.IOException
java.util.Dictionary getSymbols()
java.util.Dictionary setSymbols(java.util.Dictionary symbols)
Readtable getReadtable()
Readtable setReadtable(Readtable readtable)
SExprParser addParser(char key, SExprParser parser)
boolean getListsAsVectors()
boolean setListsAsVectors(boolean listsAsVectors)
java.lang.StringBuffer getScratchBuffer()
char readSkipWhite() throws java.io.IOException
java.io.IOException
int read() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |