protected class DefaultQueryParser.NodeStack
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
DefaultQueryParser.NodeStack() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
SearchNode |
closeNode() |
DefaultGraphEdge |
getCurrentEdge() |
DefaultGraphNode |
getCurrentNode() |
java.util.List<DefaultGraphEdge> |
getEdges() |
de.ims.icarus.search_tools.standard.DefaultQueryParser.NodeStackFrame |
getFrame(DefaultGraphNode node) |
java.util.List<DefaultGraphNode> |
getNodes() |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties(DefaultGraphNode node) |
int |
getRootOperator() |
DefaultGraphNode |
getVirtualRoot() |
void |
openNode() |
void |
pushConstraint(DefaultConstraint constraint) |
void |
pushProperty(java.lang.String key,
java.lang.Object value) |
void |
reset() |
void |
setRootOperator(int operator)
Defines the operator used on the root level
|
public void pushConstraint(DefaultConstraint constraint) throws java.text.ParseException
java.text.ParseException
public void pushProperty(java.lang.String key, java.lang.Object value) throws java.text.ParseException
java.text.ParseException
public DefaultGraphNode getCurrentNode() throws java.text.ParseException
java.text.ParseException
public DefaultGraphEdge getCurrentEdge() throws java.text.ParseException
java.text.ParseException
public de.ims.icarus.search_tools.standard.DefaultQueryParser.NodeStackFrame getFrame(DefaultGraphNode node)
public java.util.List<DefaultGraphNode> getNodes()
public java.util.List<DefaultGraphEdge> getEdges()
public DefaultGraphNode getVirtualRoot()
public java.util.Map<java.lang.String,java.lang.Object> getProperties(DefaultGraphNode node)
public void setRootOperator(int operator)
Possible values are
public int getRootOperator()
public SearchNode closeNode() throws java.text.ParseException
java.text.ParseException
public void openNode() throws java.text.ParseException
java.text.ParseException
public void close() throws java.text.ParseException
java.text.ParseException
public void reset()