net.ontopia.topicmaps.query.parser
Class TologParser
java.lang.Object
net.ontopia.topicmaps.query.parser.TologParser
public class TologParser
- extends java.lang.Object
INTERNAL: The tolog query parser.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected ParseContextIF context
options
protected TologOptions options
TologParser
public TologParser(ParseContextIF context,
TologOptions options)
parseQuery
public TologQuery parseQuery(java.lang.String query)
throws InvalidQueryException
- Returns a parsed SELECT statement.
- Throws:
InvalidQueryException
parseQuery
public TologQuery parseQuery(java.io.Reader queryReader)
throws InvalidQueryException
- Returns a parsed SELECT statement.
- Throws:
InvalidQueryException
parseStatement
public TologStatement parseStatement(java.lang.String query)
throws InvalidQueryException
- Returns a parsed INSERT/UPDATE/MERGE/DELETE statement.
- Throws:
InvalidQueryException
parseDeclarations
public ParseContextIF parseDeclarations(java.lang.String decls)
throws InvalidQueryException
- Throws:
InvalidQueryException
load
public void load(java.lang.String ruleset)
throws InvalidQueryException
- Throws:
InvalidQueryException
load
public void load(java.io.Reader reader)
throws InvalidQueryException
- Throws:
InvalidQueryException
getContext
public ParseContextIF getContext()
Copyright © 2000-2012 Ontopia.