org.jaxen.expr

Interface LiteralExpr

public interface LiteralExpr extends Expr

Represents an XPath string literal. This is production 29 in the XPath 1.0 specification:
[29] Literal ::= '"' [^"]* '"'   
               | "'" [^']* "'"
Method Summary
StringgetLiteral()
Returns the contents of the string literal, not including the quote marks.

Method Detail

getLiteral

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

Returns: the contents of the string literal