net.sf.vcard4j.search
Class BinaryQuery
java.lang.Object
net.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
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AND
public static final boolean AND
- See Also:
- Constant Field Values
OR
public static final boolean OR
- See Also:
- Constant Field Values
BinaryQuery
public BinaryQuery()
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()