Interface LiteralExpr

All Superinterfaces:
Expr, Serializable
All Known Implementing Classes:
DefaultLiteralExpr

public interface LiteralExpr extends Expr
Represents an XPath string literal. This is production 29 in the XPath 1.0 specification:
[29] Literal ::= '"' [^"]* '"'   
               | "'" [^']* "'"
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the contents of the string literal, not including the quote marks.

    Methods inherited from interface org.jaxen.expr.Expr

    evaluate, getText, simplify
  • Method Details

    • getLiteral

      String getLiteral()
      Returns the contents of the string literal, not including the quote marks.
      Returns:
      the contents of the string literal