org.mycore.parsers.bool
Class MCRAndCondition

java.lang.Object
  extended by org.mycore.parsers.bool.MCRSetCondition
      extended by org.mycore.parsers.bool.MCRAndCondition
All Implemented Interfaces:
MCRCondition

public class MCRAndCondition
extends MCRSetCondition

Author:
Frank Lützenkirchen

Field Summary
 
Fields inherited from class org.mycore.parsers.bool.MCRSetCondition
AND, children, operator, OR
 
Constructor Summary
MCRAndCondition()
           
MCRAndCondition(MCRCondition firstchild)
           
MCRAndCondition(MCRCondition firstchild, MCRCondition secondchild)
           
 
Method Summary
 boolean evaluate(Object o)
           
 
Methods inherited from class org.mycore.parsers.bool.MCRSetCondition
accept, addAll, addChild, getChildren, getOperator, info, toString, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MCRAndCondition

public MCRAndCondition()

MCRAndCondition

public MCRAndCondition(MCRCondition firstchild)

MCRAndCondition

public MCRAndCondition(MCRCondition firstchild,
                       MCRCondition secondchild)
Method Detail

evaluate

public boolean evaluate(Object o)
Specified by:
evaluate in interface MCRCondition
Specified by:
evaluate in class MCRSetCondition