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

Quick Search    Search Deep

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

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

public class AttrPlusTermNode
extends QueryNode


Field Summary
static int AND_TERMS
           
private  java.util.Vector attrs
           
private  int default_multi_term_operator
           
static int OR_TERMS
           
private  java.util.Hashtable params
           
private  java.lang.Object term
           
 
Fields inherited from class com.k_int.util.RPNQueryRep.QueryNode
node_name, the_root_node
 
Constructor Summary
AttrPlusTermNode(RootNode rn)
           
 
Method Summary
 void clearAttrs()
           
 int countChildren()
           
 int countChildrenWithTerms()
           
 ComplexNode expandChild(QueryNode qn)
           
 java.util.Enumeration getAttrEnum()
           
 int getDefaultMultiTermOperator()
           
 java.lang.Object getParam(java.lang.String param_name)
           
 java.lang.Object getTerm()
           
 java.lang.String getTermAsString(boolean quote_phrases)
           
 boolean isSet(AttrTriple attr_triple)
           
 void setAttr(java.lang.String attrset, java.lang.Integer attr, java.lang.Object val)
           
 void setParam(java.lang.String param_name, java.lang.Object value)
           
 void setTerm(java.lang.Object term)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
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, wait, wait, wait
 

Field Detail

term

private java.lang.Object term

attrs

private java.util.Vector attrs

params

private java.util.Hashtable params

AND_TERMS

public static final int AND_TERMS
See Also:
Constant Field Values

OR_TERMS

public static final int OR_TERMS
See Also:
Constant Field Values

default_multi_term_operator

private int default_multi_term_operator
Constructor Detail

AttrPlusTermNode

public AttrPlusTermNode(RootNode rn)
Method Detail

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

setTerm

public void setTerm(java.lang.Object term)

getTerm

public java.lang.Object getTerm()

getDefaultMultiTermOperator

public int getDefaultMultiTermOperator()

setParam

public void setParam(java.lang.String param_name,
                     java.lang.Object value)

getParam

public java.lang.Object getParam(java.lang.String param_name)

setAttr

public void setAttr(java.lang.String attrset,
                    java.lang.Integer attr,
                    java.lang.Object val)

clearAttrs

public void clearAttrs()

getAttrEnum

public java.util.Enumeration getAttrEnum()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


getTermAsString

public java.lang.String getTermAsString(boolean quote_phrases)

isSet

public boolean isSet(AttrTriple attr_triple)