Class LanguageExpression

    • Constructor Detail

      • LanguageExpression

        public LanguageExpression​(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 tag value
      • LanguageExpression

        public LanguageExpression​(Expression.Operator operator,
                                  String[] values)
        Creates the expression.
        Parameters:
        operator - the operator to make the comparison (only Operator.EQ and Operator.NE allowed)
        values - the tags value in a array
    • Method Detail

      • 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.