PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/src/test/java/org/sigmah/endtoend/xpath/PredicateLiteral.java

http://sigma-h.googlecode.com/
Java | 19 lines | 11 code | 4 blank | 4 comment | 0 complexity | 593a0e67a85e2896548e31b473831d70 MD5 | raw file
 1/*
 2 * All Sigmah code is released under the GNU General Public License v3
 3 * See COPYRIGHT.txt and LICENSE.txt.
 4 */
 5
 6package org.sigmah.endtoend.xpath;
 7
 8public class PredicateLiteral implements Predicate {
 9    private String expression;
10
11    public PredicateLiteral(String expression) {
12        this.expression = expression;
13    }
14
15    @Override
16    public String toString() {
17        return this.expression;
18    }
19}