Class MCRNotCondition<T>

java.lang.Object
org.mycore.parsers.bool.MCRNotCondition<T>
All Implemented Interfaces:
MCRCondition<T>

public class MCRNotCondition<T> extends Object implements MCRCondition<T>
Author:
Frank Lützenkirchen
  • Constructor Details

    • MCRNotCondition

      public MCRNotCondition(MCRCondition<T> child)
  • Method Details

    • getChild

      public MCRCondition<T> getChild()
    • toString

      public String toString()
      Description copied from interface: MCRCondition
      Returns this condition as a String.
      Specified by:
      toString in interface MCRCondition<T>
      Overrides:
      toString in class Object
      Returns:
      a condition string that can be parsed
    • evaluate

      public boolean evaluate(T o)
      Description copied from interface: MCRCondition
      Evalutates this condition.
      Specified by:
      evaluate in interface MCRCondition<T>
      Parameters:
      o - a parameter object
      Returns:
      true if this condition is met
    • toXML

      public Element toXML()
      Description copied from interface: MCRCondition
      Returns this condition as an Element.
      Specified by:
      toXML in interface MCRCondition<T>
      Returns:
      this condition in XML format