Class MixinTypeExpression

java.lang.Object
org.ametys.cms.repository.MixinTypeExpression
All Implemented Interfaces:
Expression

public class MixinTypeExpression extends Object implements Expression
Constructs an Expression testing the mixin type.
  • Constructor Details

    • MixinTypeExpression

      public MixinTypeExpression(Expression.Operator operator, String... value)
      Creates the expression.
      Parameters:
      operator - the operator to make the comparison (only Operator.EQ and Operator.NE allowed)
      value - the content type value
  • 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.