|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.glitter.syntax.concrete.SPARQLParserBase
public abstract class SPARQLParserBase
The base class for SPARQL parsers generated from a JavaCC grammar.
| Constructor Summary | |
|---|---|
SPARQLParserBase()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
enterGroupScope()
Define a new scope which will have a new set of blank nodes. |
java.lang.String |
evaluateStringLiteral(java.lang.String s)
(1) Strip quotes from the beginning and end of the string. |
void |
exitGroupScope()
Ends a blank node label scope. |
BlankNodeManager |
getBlankNodeManager()
|
QueryController |
getQueryController()
|
Variable |
getVariable(java.lang.String name)
This accessor ensures that all variables with the same name will share the same Variable reference. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPARQLParserBase()
| Method Detail |
|---|
public void enterGroupScope()
exitGroupScope()
public void exitGroupScope()
exitGroupScope()
public BlankNodeManager getBlankNodeManager()
BlankNodeManager for the current group scope.public QueryController getQueryController()
QueryController for the query currently being parsedpublic Variable getVariable(java.lang.String name)
Variable reference.
name - name of variable to get
Variable for the given name
public java.lang.String evaluateStringLiteral(java.lang.String s)
throws StringLiteralException
s - The lexical representation of the string from within a query.
StringLiteralException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||