org.mycore.parsers.bool
Class MCROrCondition

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

public class MCROrCondition
extends MCRSetCondition

Author:
Frank Lützenkirchen

Field Summary
 
Fields inherited from class org.mycore.parsers.bool.MCRSetCondition
AND, children, operator, OR
 
Constructor Summary
MCROrCondition()
           
MCROrCondition(MCRCondition firstchild)
           
MCROrCondition(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

MCROrCondition

public MCROrCondition()

MCROrCondition

public MCROrCondition(MCRCondition firstchild)

MCROrCondition

public MCROrCondition(MCRCondition firstchild,
                      MCRCondition secondchild)
Method Detail

evaluate

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