org.jaxen.expr

Interface LiteralExpr

All Superinterfaces:
Expr, Serializable
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

String
getLiteral()
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

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