Package org.mycore.parsers.bool
Class MCRTrueCondition<T>
java.lang.Object
org.mycore.parsers.bool.MCRTrueCondition<T>
- All Implemented Interfaces:
MCRCondition<T>
Implementation of the boolean "true" primitive
- Author:
- Matthias Kramm
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MCRTrueCondition
public MCRTrueCondition()
-
-
Method Details
-
evaluate
Description copied from interface:MCRCondition
Evalutates this condition.- Specified by:
evaluate
in interfaceMCRCondition<T>
- Parameters:
o
- a parameter object- Returns:
- true if this condition is met
-
toString
Description copied from interface:MCRCondition
Returns this condition as a String.- Specified by:
toString
in interfaceMCRCondition<T>
- Overrides:
toString
in classObject
- Returns:
- a condition string that can be parsed
-
toXML
Description copied from interface:MCRCondition
Returns this condition as an Element.- Specified by:
toXML
in interfaceMCRCondition<T>
- Returns:
- this condition in XML format
-