Package org.ametys.cms.repository
Class ContentTypeExpression
java.lang.Object
org.ametys.cms.repository.ContentTypeExpression
- All Implemented Interfaces:
Expression
Constructs an
Expression
testing the content type.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.Operator
-
Constructor Summary
ConstructorDescriptionContentTypeExpression
(Expression.Operator operator, String... value) Creates the expression. -
Method Summary
-
Constructor Details
-
ContentTypeExpression
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
Description copied from interface:Expression
Build the expression.- Specified by:
build
in interfaceExpression
- Returns:
- The XPath view of the expression.
-