|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.retrieval.BooleanQueryNode
A query node representating a Boolean connector.
| Field Summary | |
protected java.util.Set |
children
Set of children nodes (QueryNode instances). |
| Constructor Summary | |
BooleanQueryNode()
Creates a new object. |
|
BooleanQueryNode(java.util.Set children)
Creates a new object. |
|
| Method Summary | |
void |
add(QueryNode node)
Adds the specified query node as a child. |
QueryNode |
cloneNode()
Clones this node. |
boolean |
equals(java.lang.Object obj)
|
java.util.Set |
getChildren()
Returns the children. |
protected abstract java.lang.String |
getConnector()
Returns a XIRQL representation of the connector represented by this node. |
int |
hashCode()
|
java.util.Iterator |
iterator()
Returns an iterator over the children of this node. |
protected abstract BooleanQueryNode |
newNode()
Returns a new, empty node of this type. |
protected abstract boolean |
sameClass(QueryNode node)
Returns true iff the specified query node represents the same class as this node. |
void |
setChildren(java.util.Set list)
Sets the children. |
QueryNode |
simplifiedNode()
Simplifies this node. |
java.lang.String |
toPrefix()
Returns the node in prefix notation. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.unidu.is.retrieval.QueryNode |
isDF, toDF |
| Field Detail |
protected java.util.Set children
| Constructor Detail |
public BooleanQueryNode()
public BooleanQueryNode(java.util.Set children)
children - children nodes| Method Detail |
public java.util.Set getChildren()
public void setChildren(java.util.Set list)
list - children nodespublic void add(QueryNode node)
node - new child nodeprotected abstract java.lang.String getConnector()
public java.lang.String toString()
public java.lang.String toPrefix()
QueryNode
toPrefix in interface QueryNodepublic java.util.Iterator iterator()
QueryNode
iterator in interface QueryNodepublic QueryNode simplifiedNode()
QueryNode
simplifiedNode in interface QueryNodeprotected abstract boolean sameClass(QueryNode node)
node - query node to compare
public QueryNode cloneNode()
QueryNode
cloneNode in interface QueryNodepublic boolean equals(java.lang.Object obj)
public int hashCode()
protected abstract BooleanQueryNode newNode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||