public String getText() { String text = ""; if ( this.expr != null ) { text = this.expr.getText(); } text += predicates.getText(); return text; }
public String getText() { return getRootExpr().getText(); }
public String getText() { return "-(" + getExpr().getText() + ")"; }
public String getText() { return "[" + getExpr().getText() + "]"; }
public String getText() { StringBuffer buf = new StringBuffer(); String prefix = getPrefix(); if (prefix != null && prefix.length() > 0) { buf.append(prefix); buf.append(":"); } buf.append(getFunctionName()); buf.append("("); Iterator paramIter = getParameters().iterator(); while (paramIter.hasNext()) { Expr eachParam = (Expr) paramIter.next(); buf.append(eachParam.getText()); if (paramIter.hasNext()) { buf.append(", "); } } buf.append(")"); return buf.toString(); }
public String getText() { StringBuffer buf = new StringBuffer(); if (getFilterExpr() != null) { buf.append(getFilterExpr().getText()); } if (getLocationPath() != null) { if (!getLocationPath().getSteps().isEmpty()) buf.append("/"); buf.append(getLocationPath().getText()); } return buf.toString(); }
private String getLiteralFromExpression(Expr expr) throws CompilationException { expr = expr.simplify(); if (expr instanceof LiteralExpr) return ((LiteralExpr)expr).getLiteral(); throw new CompilationException(__msgs.errLiteralExpected(expr.getText())); }
Expr expr = xpath.getRootExpr(); if (!(expr instanceof LocationPath)) { throw new SAXPathException("Invalid XPath expression '" + xpathExpression + "'. Selector must be a LocationPath expression. Is '" + expr.getText() + "'.");
throw new SAXPathException("Unsupported XPath expr token '" + expr.getText() + "'.");
throw new SAXPathException("Unsupported XPath expr token '" + expr.getText() + "'.");
throw new SAXPathException("Unsupported XPath expr token '" + expr.getText() + "'.");
throw new SAXPathException("Unsupported XPath expr token '" + expr.getText() + "'.");
throw new SAXPathException("Unsupported XPath value token '" + expr.getText() + "'.");
throw new SAXPathException("Unsupported XPath expr token '" + expr.getText() + "'.");
throw new SAXPathException("Unsupported XPath value token '" + expr.getText() + "'.");
throw new SAXPathException("Unsupported XPath value token '" + expr.getText() + "'.");
throw new SAXPathException("Unsupported XPath value token '" + expr.getText() + "'.");
throw new SAXPathException("Unsupported XPath value token '" + expr.getText() + "'.");