/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. package org.sigmah.endtoend.xpath;
  6. public class PredicateLiteral implements Predicate {
  7. private String expression;
  8. public PredicateLiteral(String expression) {
  9. this.expression = expression;
  10. }
  11. @Override
  12. public String toString() {
  13. return this.expression;
  14. }
  15. }