/** * Export this rule as part of an exported stylesheet * * @param presenter the output handler */ public void export(ExpressionPresenter presenter) { presenter.startElement("strip.ignorable"); presenter.endElement(); } }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. * * @param out the expression presenter used to display the structure */ @Override public void export(ExpressionPresenter out) throws XPathException { out.startElement("currentGroup"); out.endElement(); }
@Override public void export(ExpressionPresenter presenter) { presenter.startElement("p.any"); presenter.endElement(); }
/** * Export this rule as part of an exported stylesheet * * @param presenter the output handler */ public void export(ExpressionPresenter presenter) { presenter.startElement("strip.all"); presenter.endElement(); } }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. * * @param out the expression presenter used to display the structure */ @Override public void explain(ExpressionPresenter out) throws XPathException { out.startElement("trace"); out.endElement(); }
public void export(ExpressionPresenter presenter) throws XPathException { presenter.startElement("p.withCurrent"); wrappedPattern.export(presenter); presenter.endElement(); }
public void export(ExpressionPresenter presenter) throws XPathException { presenter.startElement("p.genNode"); presenter.emitAttribute("type", itemType.toString()); equivalentExpr.export(presenter); presenter.endElement(); }
public void export(ExpressionPresenter out) throws XPathException { out.startElement("onEmpty", this); getBaseExpression().export(out); out.endElement(); }
public void export(ExpressionPresenter out) throws XPathException { out.startElement("onNonEmpty", this); getBaseExpression().export(out); out.endElement(); }
public void export(ExpressionPresenter out) throws XPathException { out.startElement("condCont", 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 { out.startElement("saxonDoctype", this); getContent().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 { out.startElement("params", this); for (Operand o : operands()) { o.getChildExpression().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 { out.startElement("arrayBlock", this); for (Operand o : operands()) { o.getChildExpression().export(out); } out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void export(ExpressionPresenter destination) throws XPathException { destination.startElement("tail", this); destination.emitAttribute("start", start + ""); getBaseExpression().export(destination); destination.endElement(); }
public void export(ExpressionPresenter presenter) throws XPathException { presenter.startElement("p.withPredicate"); getBasePattern().export(presenter); getPredicate().export(presenter); presenter.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void export(ExpressionPresenter destination) throws XPathException { destination.startElement("subscript", this); getBaseExpression().export(destination); getSubscript().export(destination); destination.endElement(); }
@Override public void export(ExpressionPresenter out) throws XPathException { ExpressionPresenter.ExportOptions options = (ExpressionPresenter.ExportOptions) out.getOptions(); out.startElement("origF"); out.emitAttribute("name", getFunctionName()); out.emitAttribute("arity", ""+getArity()); out.emitAttribute("pack", options.packageMap.get(component.getContainingPackage())+""); out.endElement(); } }
public void export(ExpressionPresenter presenter) throws XPathException { presenter.startElement("p.withUpper"); presenter.emitAttribute("axis", AxisInfo.axisName[getUpwardsAxis()]); presenter.emitAttribute("upFirst", ""+ testUpperPatternFirst); basePattern.export(presenter); upperPattern.export(presenter); presenter.endElement(); }
/** * Export information about this function item to the export() or explain() output */ default void export(ExpressionPresenter out) throws XPathException { out.startElement("map"); out.emitAttribute("size", "" + size()); for (KeyValuePair kvp : keyValuePairs()) { Literal.exportAtomicValue(kvp.key, out); Literal.exportValue(kvp.value, out); } out.endElement(); }
/** * Diagnostic print of expression structure. The abstract expression tree * is written to the supplied output destination. */ public void export(ExpressionPresenter destination) throws XPathException { destination.startElement("error", this); destination.emitAttribute("message", exception == null ? message : exception.getMessage()); destination.emitAttribute("code", exception == null ? errorCode : exception.getErrorCodeLocalPart()); destination.emitAttribute("isTypeErr", isTypeError?"0":"1"); destination.endElement(); }