public class LanguageExpression extends Object implements Expression
Expression
corresponding to a language comparison.Expression.Operator
Modifier and Type | Field and Description |
---|---|
private Expression.Operator |
_operator |
private String[] |
_values |
Constructor and Description |
---|
LanguageExpression(Expression.Operator operator,
String value)
Creates the expression.
|
LanguageExpression(Expression.Operator operator,
String[] values)
Creates the expression.
|
private Expression.Operator _operator
public LanguageExpression(Expression.Operator operator, String value)
operator
- the operator to make the comparison (only Operator.EQ and Operator.NE allowed)value
- the tag valuepublic LanguageExpression(Expression.Operator operator, String[] values)
operator
- the operator to make the comparison (only Operator.EQ and Operator.NE allowed)values
- the tags value in a arraypublic String build()
Expression
build
in interface Expression