Home | History | Annotate | Download | only in templates

Lines Matching refs:xctxt

68    * @param xctxt The current execution context.
73 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
75 int context = xctxt.getCurrentNode();
76 DTM dtm = xctxt.getDTM(context);
79 XObject arg = (XObject) this.getArg0().execute(xctxt);
91 XObject arg2 = arg1Expr.execute(xctxt);
102 warn(xctxt, XSLTErrorResources.WG_EMPTY_SECOND_ARG, null);
103 XNodeSet nodes = new XNodeSet(xctxt.getDTMManager());
106 DTM baseDTM = xctxt.getDTM(baseNode);
117 // base = xctxt.getNamespaceContext().getBaseIdentifier();
120 // base = xctxt.getSourceTreeManager().findURIFromDoc(baseDoc);
140 assertion(null != xctxt.getNamespaceContext(), "Namespace context can not be null!");
141 base = xctxt.getNamespaceContext().getBaseIdentifier();
144 XNodeSet nodes = new XNodeSet(xctxt.getDTMManager());
153 ? xctxt.getDTM(pos).getStringValue(pos) : arg.xstr();
165 DTM baseDTM = xctxt.getDTM(pos);
174 error(xctxt, XSLTErrorResources.ER_NO_CONTEXT_OWNERDOC, null); //"context does not have an owner document!");
194 int newDoc = getDoc(xctxt, context, ref.toString(), base);
199 // TODO: mnl.addNodeInDocOrder(newDoc, true, xctxt); ??
216 * @param xctxt The XPath runtime state.
226 int getDoc(XPathContext xctxt, int context, String uri, String base)
231 SourceTreeManager treeMgr = xctxt.getSourceTreeManager();
237 source = treeMgr.resolveURI(base, uri, xctxt.getSAXLocator());
243 (SourceLocator)xctxt.getSAXLocator(), ioe);
257 uri = xctxt.getNamespaceContext().getBaseIdentifier();
260 source = treeMgr.resolveURI(base, uri, xctxt.getSAXLocator());
265 (SourceLocator)xctxt.getSAXLocator(), ioe);
275 newDoc = treeMgr.getSourceTree(source, xctxt.getSAXLocator(), xctxt);
280 warn(xctxt, XSLTErrorResources.WG_CANNOT_MAKE_URL_FROM,
358 warn(xctxt, XSLTErrorResources.WG_CANNOT_LOAD_REQUESTED_DOC,
362 warn(xctxt, XSLTErrorResources.WG_CANNOT_LOAD_REQUESTED_DOC,
371 // xctxt.getSourceTreeManager().associateXLocatorToNode(newDoc, url, null);
381 * @param xctxt The XPath runtime state.
389 public void error(XPathContext xctxt, String msg, Object args[])
394 ErrorListener errHandler = xctxt.getErrorListener();
396 (SourceLocator)xctxt.getSAXLocator());
407 * @param xctxt The XPath runtime state.
415 public void warn(XPathContext xctxt, String msg, Object args[])
420 ErrorListener errHandler = xctxt.getErrorListener();
422 (SourceLocator)xctxt.getSAXLocator());