org.mycore.parsers.bool
Class MCRTrueCondition

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

public class MCRTrueCondition
extends Object
implements MCRCondition

Implementation of the boolean "true" primitive

Author:
Matthias Kramm

Constructor Summary
MCRTrueCondition()
           
 
Method Summary
 void accept(MCRConditionVisitor visitor)
           
 boolean evaluate(Object o)
           
 Element info()
           
 String toString()
           
 Element toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MCRTrueCondition

public MCRTrueCondition()
Method Detail

evaluate

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

toString

public String toString()
Specified by:
toString in interface MCRCondition
Overrides:
toString in class Object

toXML

public Element toXML()
Specified by:
toXML in interface MCRCondition

info

public Element info()
Specified by:
info in interface MCRCondition

accept

public void accept(MCRConditionVisitor visitor)
Specified by:
accept in interface MCRCondition