public class ContentLanguageExpression extends Object implements Expression
Expression
testing the content language.Expression.Operator
Modifier and Type | Field and Description |
---|---|
private Expression.Operator |
_operator |
private String |
_value |
Constructor and Description |
---|
ContentLanguageExpression(Expression.Operator operator,
String value)
Creates the expression.
|
private Expression.Operator _operator
public ContentLanguageExpression(Expression.Operator operator, String value)
operator
- the operator to make the comparison (only Operator.EQ and Operator.NE allowed)value
- the content type valuepublic String build()
Expression
build
in interface Expression