/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { String name = displayExpressionName(); if (name == null) { out.startElement("unaryOperator"); String op = displayOperator(out.getConfiguration()); if (op != null) { out.emitAttribute("op", op); } } else { out.startElement(name); } operand.explain(out); out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void explain(ExpressionPresenter out) { String name = displayExpressionName(); if (name == null) { out.startElement("unaryOperator"); String op = displayOperator(out.getConfiguration()); if (op != null) { out.emitAttribute("op", op); } } else { out.startElement(name); } operand.explain(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(); }
/** * 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(); }