java.lang.Object
org.ametys.plugins.repository.query.expression.OrExpression
All Implemented Interfaces:
Expression

public class OrExpression extends Object implements Expression
Constructs an Expression corresponding to the logical "or" between two others Expression.
  • Constructor Details

    • OrExpression

      public OrExpression(Expression... exprs)
      Creates the "or" Expression.
      Parameters:
      exprs - the operands
  • Method Details

    • build

      public String build()
      Description copied from interface: Expression
      Build the expression.
      Specified by:
      build in interface Expression
      Returns:
      The XPath view of the expression.