/** * The toString() method for an expression attempts to give a representation of the expression * in an XPath-like form, but there is no guarantee that the syntax will actually be true XPath. * In the case of XSLT instructions, the toString() method gives an abstracted view of the syntax */ public String toString() { return getExpressionName() + "(" + getBaseExpression() + ")"; }
/** * The toString() method for an expression attempts to give a representation of the expression * in an XPath-like form, but there is no guarantee that the syntax will actually be true XPath. * In the case of XSLT instructions, the toString() method gives an abstracted view of the syntax */ public String toString() { return getExpressionName() + "(" + getBaseExpression() + ")"; }
@Override public String toShortString() { return getExpressionName() + "(" + getBaseExpression().toShortString() + ")"; }
@Override public String toShortString() { return getExpressionName() + "(" + getBaseExpression().toShortString() + ")"; }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void export(ExpressionPresenter out) throws XPathException { String name = getExpressionName(); if (name == null) { out.startElement("unaryOperator", this); String op = displayOperator(out.getConfiguration()); if (op != null) { out.emitAttribute("op", op); } } else { out.startElement(name, this); } getBaseExpression().export(out); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void export(ExpressionPresenter out) throws XPathException { String name = getExpressionName(); if (name == null) { out.startElement("unaryOperator", this); String op = displayOperator(out.getConfiguration()); if (op != null) { out.emitAttribute("op", op); } } else { out.startElement(name, this); } getBaseExpression().export(out); out.endElement(); }