net.sf.vcard4j.search
Class BinaryQuery

java.lang.Object
  extended bynet.sf.vcard4j.search.BinaryQuery
All Implemented Interfaces:
Query

public class BinaryQuery
extends java.lang.Object
implements Query


Field Summary
static boolean AND
           
static boolean OR
           
 
Constructor Summary
BinaryQuery()
           
 
Method Summary
 Query getLeftOperand()
           
 java.util.Set getMatchingTypes()
          Returns the matching types.
 java.util.Set getMatchingVCards()
          Returns all the matching VCards.
 Query getRightOperand()
           
 boolean search(org.w3c.dom.Node root)
          Returns true if some VCards were matching the search crteria.
 void setLeftOperand(Query query)
           
 void setOperator(boolean v)
           
 void setRightOperand(Query query)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AND

public static final boolean AND
See Also:
Constant Field Values

OR

public static final boolean OR
See Also:
Constant Field Values
Constructor Detail

BinaryQuery

public BinaryQuery()
Method Detail

setLeftOperand

public void setLeftOperand(Query query)

setRightOperand

public void setRightOperand(Query query)

getLeftOperand

public Query getLeftOperand()

getRightOperand

public Query getRightOperand()

setOperator

public void setOperator(boolean v)

search

public boolean search(org.w3c.dom.Node root)
Description copied from interface: Query
Returns true if some VCards were matching the search crteria.

Specified by:
search in interface Query

getMatchingVCards

public java.util.Set getMatchingVCards()
Description copied from interface: Query
Returns all the matching VCards.

Specified by:
getMatchingVCards in interface Query

getMatchingTypes

public java.util.Set getMatchingTypes()
Description copied from interface: Query
Returns the matching types.

Specified by:
getMatchingTypes in interface Query

toString

public java.lang.String toString()