/** * 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("message", this); out.setChildRole("select"); getSelect().export(out); out.setChildRole("terminate"); getTerminate().export(out); out.setChildRole("error"); getErrorCode().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("message", this); out.setChildRole("select"); getSelect().export(out); out.setChildRole("terminate"); getTerminate().export(out); out.setChildRole("error"); getErrorCode().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("analyzeString", this); out.setChildRole("select"); getSelect().export(out); out.setChildRole("regex"); getRegex().export(out); out.setChildRole("flags"); getFlags().export(out); if (getMatching() != null) { out.setChildRole("matching"); getMatching().export(out); } if (getNonMatching() != null) { out.setChildRole("nonMatching"); getNonMatching().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("iterate", this); out.setChildRole("select"); getSelectExpression().export(out); out.setChildRole("params"); getInitiallyExp().export(out); if (!Literal.isEmptySequence(getOnCompletion())) { out.setChildRole("on-completion"); getOnCompletion().export(out); } out.setChildRole("action"); getActionExpression().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("analyzeString", this); out.setChildRole("select"); getSelect().export(out); out.setChildRole("regex"); getRegex().export(out); out.setChildRole("flags"); getFlags().export(out); if (getMatching() != null) { out.setChildRole("matching"); getMatching().export(out); } if (getNonMatching() != null) { out.setChildRole("nonMatching"); getNonMatching().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("iterate", this); out.setChildRole("select"); getSelectExpression().export(out); out.setChildRole("params"); getInitiallyExp().export(out); if (!Literal.isEmptySequence(getOnCompletion())) { out.setChildRole("on-completion"); getOnCompletion().export(out); } out.setChildRole("action"); getActionExpression().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("nodeNum", this); out.emitAttribute("level", LEVEL_NAMES[level]); out.setChildRole("select"); selectOp.getChildExpression().export(out); if (countOp != null) { out.setChildRole("count"); getCount().export(out); } if (fromOp != null) { out.setChildRole("from"); getFrom().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("nodeNum", this); out.emitAttribute("level", LEVEL_NAMES[level]); out.setChildRole("select"); selectOp.getChildExpression().export(out); if (countOp != null) { out.setChildRole("count"); getCount().export(out); } if (fromOp != null) { out.setChildRole("from"); getFrom().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("namespace", this); String flags = ""; if (isLocal()) { flags += "l"; } if (!flags.isEmpty()) { out.emitAttribute("flags", flags); } out.setChildRole("name"); getNameExp().export(out); out.setChildRole("select"); getSelect().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("procInst", this); String flags = ""; if (isLocal()) { flags += "l"; } if (!flags.isEmpty()) { out.emitAttribute("flags", flags); } out.setChildRole("name"); getNameExp().export(out); out.setChildRole("select"); getSelect().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("namespace", this); String flags = ""; if (isLocal()) { flags += "l"; } if (!flags.isEmpty()) { out.emitAttribute("flags", flags); } out.setChildRole("name"); getNameExp().export(out); out.setChildRole("select"); getSelect().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("procInst", this); String flags = ""; if (isLocal()) { flags += "l"; } if (!flags.isEmpty()) { out.emitAttribute("flags", flags); } out.setChildRole("name"); getNameExp().export(out); out.setChildRole("select"); getSelect().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("compElem", this); String flags = getInheritanceFlags(); if (isLocal()) { flags += "l"; } if (!flags.isEmpty()) { out.emitAttribute("flags", flags); } exportValidationAndType(out); out.setChildRole("name"); getNameExp().export(out); if (getNamespaceExp() != null) { out.setChildRole("namespace"); getNamespaceExp().export(out); } out.setChildRole("content"); getContentExpression().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("compElem", this); String flags = getInheritanceFlags(); if (isLocal()) { flags += "l"; } if (!flags.isEmpty()) { out.emitAttribute("flags", flags); } exportValidationAndType(out); out.setChildRole("name"); getNameExp().export(out); if (getNamespaceExp() != null) { out.setChildRole("namespace"); getNamespaceExp().export(out); } out.setChildRole("content"); getContentExpression().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("sort", this); out.setChildRole("select"); getSelect().export(out); getSortKeyDefinitionList().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("sort", this); out.setChildRole("select"); getSelect().export(out); getSortKeyDefinitionList().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("for", this); explainSpecializedAttributes(out); out.emitAttribute("var", getVariableQName()); out.emitAttribute("as", getSequence().getItemType().toExportString()); out.emitAttribute("slot", "" + getLocalSlotNumber()); out.setChildRole("in"); getSequence().export(out); out.setChildRole("return"); getAction().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("for", this); explainSpecializedAttributes(out); out.emitAttribute("var", getVariableQName()); out.emitAttribute("as", getSequence().getItemType().toExportString()); out.emitAttribute("slot", "" + getLocalSlotNumber()); out.setChildRole("in"); getSequence().export(out); out.setChildRole("return"); getAction().export(out); out.endElement(); }
/** * Output diagnostic explanation to an ExpressionPresenter */ public void export(ExpressionPresenter presenter) throws XPathException { presenter.startElement("template"); presenter.emitAttribute("name", getTemplateName()); explainProperties(presenter); presenter.emitAttribute("slots", "" + getStackFrameMap().getNumberOfVariables()); if (getBody() != null) { presenter.setChildRole("body"); getBody().export(presenter); } presenter.endElement(); }
/** * Output diagnostic explanation to an ExpressionPresenter */ public void export(ExpressionPresenter presenter) throws XPathException { presenter.startElement("template"); presenter.emitAttribute("name", getTemplateName()); explainProperties(presenter); presenter.emitAttribute("slots", "" + getStackFrameMap().getNumberOfVariables()); if (getBody() != null) { presenter.setChildRole("body"); getBody().export(presenter); } presenter.endElement(); }