|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectefxtools.filtering.QueryNode
public class QueryNode
One node of a parsed AScopedQuery.
A node contains an annotation type or feature as well as an arbitrary number of
child nodes. If a node is a leaf (i.e., it has no children), its type is by concept
one of the output types and features of the query.
To the contrary, an inner node defines the annotation type or feature of the scope
of all child nodes of this node.
| Constructor Summary | |
|---|---|
QueryNode(org.apache.uima.analysis_engine.TypeOrFeature typeOrFeature)
The constructor sets the annotation type or feature that refers to this node and creates an empty storage for the child nodes of this node. |
|
| Method Summary | |
|---|---|
void |
addChild(QueryNode child)
Adds the given child node to the child nodes of this node. |
void |
addChildren(java.util.List<QueryNode> children)
Adds all given child nodes to the child nodes of this node. |
java.util.List<QueryNode> |
getChildren()
Returns all child nodes of this node. |
org.apache.uima.analysis_engine.TypeOrFeature |
getTypeOrFeature()
Returns the annotation type or feature that refers to this node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryNode(org.apache.uima.analysis_engine.TypeOrFeature typeOrFeature)
typeOrFeature - The annotation type or feature| Method Detail |
|---|
public void addChild(QueryNode child)
child - The child nodepublic void addChildren(java.util.List<QueryNode> children)
children - The child nodespublic org.apache.uima.analysis_engine.TypeOrFeature getTypeOrFeature()
public java.util.List<QueryNode> getChildren()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||