Interface LiteralExpr

  • All Superinterfaces:
    Expr, java.io.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 Detail

      • getLiteral

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