Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.k_int.util.RPNQueryRep
Class RootNode  view RootNode download RootNode.java

java.lang.Object
  extended bycom.k_int.util.RPNQueryRep.QueryNode
      extended bycom.k_int.util.RPNQueryRep.RootNode

public class RootNode
extends QueryNode


Field Summary
private  java.lang.String attrset
           
private  java.util.Hashtable nodes
           
private  QueryNode the_child
           
 
Fields inherited from class com.k_int.util.RPNQueryRep.QueryNode
node_name, the_root_node
 
Constructor Summary
RootNode()
           
 
Method Summary
 void changeNodeName(QueryNode node, java.lang.String new_name)
           
 void clearAllTerms()
           
 int countChildren()
           
 int countChildrenWithTerms()
           
 ComplexNode expandChild(QueryNode qn)
           
 java.lang.String getAttrset()
           
 QueryNode getChild()
           
 QueryNode lookupNodeByName(java.lang.String name)
           
private  void recurseClearAllTerms(QueryNode n)
           
 void registerNode(QueryNode node)
           
 void setAttrset(java.lang.String _attrset)
           
 void setChild(QueryNode c)
           
 
Methods inherited from class com.k_int.util.RPNQueryRep.QueryNode
getNodeName, getRootNode, setNodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

the_child

private QueryNode the_child

nodes

private java.util.Hashtable nodes

attrset

private java.lang.String attrset
Constructor Detail

RootNode

public RootNode()
Method Detail

getChild

public QueryNode getChild()

setChild

public void setChild(QueryNode c)

expandChild

public ComplexNode expandChild(QueryNode qn)
Specified by:
expandChild in class QueryNode

countChildrenWithTerms

public int countChildrenWithTerms()
Specified by:
countChildrenWithTerms in class QueryNode

countChildren

public int countChildren()
Specified by:
countChildren in class QueryNode

setAttrset

public void setAttrset(java.lang.String _attrset)

getAttrset

public java.lang.String getAttrset()

registerNode

public void registerNode(QueryNode node)

changeNodeName

public void changeNodeName(QueryNode node,
                           java.lang.String new_name)

lookupNodeByName

public QueryNode lookupNodeByName(java.lang.String name)

clearAllTerms

public void clearAllTerms()

recurseClearAllTerms

private void recurseClearAllTerms(QueryNode n)