Class QueryContext
java.lang.Object
net.ontopia.topicmaps.query.impl.utils.QueryContext
INTERNAL: Used during traversal of queries to represent the context
at any given point in the query.
-
Constructor Summary
ConstructorsConstructorDescriptionQueryContext(TologQuery query) QueryContext(TologQuery query, ParsedRule rule) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleangetBooleanOption(String name) Returns value of boolean option.intReturns the clause list nesting level we are at.Returns the name of the rule we are traversing.void
-
Constructor Details
-
QueryContext
-
QueryContext
-
-
Method Details
-
getBooleanOption
Returns value of boolean option. -
getRuleName
Returns the name of the rule we are traversing. If we are traversing a query (that is, not a rule at all) null is returned. -
getNestingLevel
public int getNestingLevel()Returns the clause list nesting level we are at. The top level of a query or rule is 1. -
getVariableTypes
-
getParameterTypes
-
enterClauseList
public void enterClauseList() -
leaveClauseList
public void leaveClauseList()
-