HomeSort by relevance Sort by last modified time
    Searched full:xctxt (Results 1 - 25 of 122) sorted by null

1 2 3 4 5

  /external/apache-xml/src/main/java/org/apache/xalan/templates/
FuncKey.java 51 * @param xctxt The current execution context.
56 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
59 // TransformerImpl transformer = (TransformerImpl)xctxt;
60 TransformerImpl transformer = (TransformerImpl) xctxt.getOwnerObject();
62 int context = xctxt.getCurrentNode();
63 DTM dtm = xctxt.getDTM(context);
72 String xkeyname = getArg0().execute(xctxt).str();
73 QName keyname = new QName(xkeyname, xctxt.getNamespaceContext());
74 XObject arg = getArg1().execute(xctxt);
98 dtm = xctxt.getDTM(pos)
122 nl.setRoot(xctxt.getCurrentNode(), xctxt); local
146 nodes.setRoot(xctxt.getCurrentNode(), xctxt); local
    [all...]
FuncDocument.java 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()
    [all...]
ElemForEach.java 285 * @param xctxt The XPath runtime state for the sort.
294 XPathContext xctxt, Vector keys, DTMIterator sourceNodes)
298 NodeSorter sorter = new NodeSorter(xctxt);
301 xctxt.pushContextNodeList(sourceNodes);
305 sorter.sort(sourceNodes, keys, xctxt);
310 xctxt.popContextNodeList();
328 final XPathContext xctxt = transformer.getXPathContext(); local
329 final int sourceNode = xctxt.getCurrentNode();
330 DTMIterator sourceNodes = m_selectExpression.asIterator(xctxt,
342 sourceNodes = sortNodes(xctxt, keys, sourceNodes)
    [all...]
ElemApplyTemplates.java 199 final XPathContext xctxt = transformer.getXPathContext(); local
200 final int sourceNode = xctxt.getCurrentNode();
201 DTMIterator sourceNodes = m_selectExpression.asIterator(xctxt, sourceNode);
202 VariableStack vars = xctxt.getVarStack();
211 xctxt.pushCurrentNode(DTM.NULL);
212 xctxt.pushCurrentExpressionNode(DTM.NULL);
213 xctxt.pushSAXLocatorNull();
221 sourceNodes = sortNodes(xctxt, keys, sourceNodes);
230 DTM dtm = xctxt.getDTM(sourceNode);
251 xctxt.pushContextNodeList(sourceNodes)
    [all...]
FuncFormatNumb.java 48 * @param xctxt The current execution context.
53 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
58 (ElemTemplateElement) xctxt.getNamespaceContext();
62 double num = getArg0().execute(xctxt).num();
63 String patternStr = getArg1().execute(xctxt).str();
77 String dfName = arg2Expr.execute(xctxt).str();
78 QName qname = new QName(dfName, xctxt.getNamespaceContext());
84 warn(xctxt, XSLTErrorResources.WG_NO_DECIMALFORMAT_DECLARATION,
146 * @param xctxt The XPath runtime state.
154 public void warn(XPathContext xctxt, String msg, Object args[]
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/patterns/
ContextMatchStepPattern.java 50 * @param xctxt XPath runtime context.
60 public XObject execute(XPathContext xctxt)
64 if (xctxt.getIteratorRoot() == xctxt.getCurrentNode())
74 * @param xctxt The XPath runtime context.
86 XPathContext xctxt, StepPattern prevStep)
91 int context = xctxt.getCurrentNode();
92 DTM dtm = xctxt.getDTM(context);
96 int predContext = xctxt.getCurrentNode();
102 boolean iterRootIsAttr = (dtm.getNodeType(xctxt.getIteratorRoot())
    [all...]
StepPattern.java 319 * @param xctxt XPath runtime context.
330 public XObject execute(XPathContext xctxt, int currentNode)
334 DTM dtm = xctxt.getDTM(currentNode);
340 return execute(xctxt, currentNode, dtm, expType);
350 * @param xctxt XPath runtime context.
360 public XObject execute(XPathContext xctxt)
363 return execute(xctxt, xctxt.getCurrentNode());
371 * @param xctxt The XPath runtime context.
382 XPathContext xctxt, int currentNode, DTM dtm, int expType
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
FuncCount.java 39 * @param xctxt The current execution context.
44 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
47 // DTMIterator nl = m_arg0.asIterator(xctxt, xctxt.getCurrentNode());
58 DTMIterator nl = m_arg0.asIterator(xctxt, xctxt.getCurrentNode());
FuncNormalizeSpace.java 41 * @param xctxt The current execution context.
46 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
48 XMLString s1 = getArg0AsString(xctxt);
58 * @param xctxt The XPath runtime context.
65 public void executeCharsToContentHandler(XPathContext xctxt,
72 int node = getArg0AsNode(xctxt);
75 DTM dtm = xctxt.getDTM(node);
81 XObject obj = execute(xctxt);
FuncUnparsedEntityURI.java 38 * @param xctxt The current execution context.
43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
46 String name = m_arg0.execute(xctxt).str();
47 int context = xctxt.getCurrentNode();
48 DTM dtm = xctxt.getDTM(context);
FuncId.java 46 * @param xctxt The runtime XPath context.
55 private StringVector getNodesByID(XPathContext xctxt, int docContext,
63 // DOMHelper dh = xctxt.getDOMHelper();
66 DTM dtm = xctxt.getDTM(docContext);
83 nodeSet.addNodeInDocOrder(node, xctxt);
101 * @param xctxt The current execution context.
106 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
109 int context = xctxt.getCurrentNode();
110 DTM dtm = xctxt.getDTM(context);
114 error(xctxt, XPATHErrorResources.ER_CONTEXT_HAS_NO_OWNERDOC, null)
    [all...]
FunctionDef1Arg.java 43 * @param xctxt Runtime XPath context.
51 protected int getArg0AsNode(XPathContext xctxt)
56 ? xctxt.getCurrentNode() : m_arg0.asNode(xctxt);
73 * @param xctxt Runtime XPath context.
81 protected XMLString getArg0AsString(XPathContext xctxt)
86 int currentNode = xctxt.getCurrentNode();
91 DTM dtm = xctxt.getDTM(currentNode);
97 return m_arg0.execute(xctxt).xstr();
105 * @param xctxt Runtime XPath context
    [all...]
FuncConcat.java 39 * @param xctxt The current execution context.
44 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
50 sb.append(m_arg0.execute(xctxt).str());
51 sb.append(m_arg1.execute(xctxt).str());
54 sb.append(m_arg2.execute(xctxt).str());
60 sb.append(m_args[i].execute(xctxt).str());
FuncExtElementAvailable.java 42 * @param xctxt The current execution context.
47 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
54 String fullName = m_arg0.execute(xctxt).str();
66 namespace = xctxt.getNamespaceContext().getNamespaceForPrefix(prefix);
77 TransformerImpl transformer = (TransformerImpl) xctxt.getOwnerObject();
90 ExtensionsProvider extProvider = (ExtensionsProvider)xctxt.getOwnerObject();
FuncLast.java 53 * @param xctxt non-null reference to XPath runtime context.
59 public int getCountOfContextNodeList(XPathContext xctxt)
65 SubContextList iter = m_isTopLevel ? null : xctxt.getSubContextList();
69 return iter.getLastPos(xctxt);
71 DTMIterator cnl = xctxt.getContextNodeList();
86 * @param xctxt The current execution context.
91 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
93 XNumber xnum = new XNumber((double) getCountOfContextNodeList(xctxt));
FuncContains.java 38 * @param xctxt The current execution context.
43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
46 String s1 = m_arg0.execute(xctxt).str();
47 String s2 = m_arg1.execute(xctxt).str();
FuncLocalPart.java 39 * @param xctxt The current execution context.
44 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
47 int context = getArg0AsNode(xctxt);
50 DTM dtm = xctxt.getDTM(context);
FuncQname.java 39 * @param xctxt The current execution context.
44 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
47 int context = getArg0AsNode(xctxt);
52 DTM dtm = xctxt.getDTM(context);
FuncStartsWith.java 38 * @param xctxt The current execution context.
43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
45 return m_arg0.execute(xctxt).xstr().startsWith(m_arg1.execute(xctxt).xstr())
FuncSubstringAfter.java 39 * @param xctxt The current execution context.
44 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
47 XMLString s1 = m_arg0.execute(xctxt).xstr();
48 XMLString s2 = m_arg1.execute(xctxt).xstr();
FuncSubstringBefore.java 38 * @param xctxt The current execution context.
43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
46 String s1 = m_arg0.execute(xctxt).str();
47 String s2 = m_arg1.execute(xctxt).str();
  /external/apache-xml/src/main/java/org/apache/xpath/operations/
And.java 38 * @param xctxt The runtime execution context.
45 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
48 XObject expr1 = m_left.execute(xctxt);
52 XObject expr2 = m_right.execute(xctxt);
63 * @param xctxt The runtime execution context.
69 public boolean bool(XPathContext xctxt)
72 return (m_left.bool(xctxt) && m_right.bool(xctxt));
Or.java 38 * @param xctxt The runtime execution context.
45 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
48 XObject expr1 = m_left.execute(xctxt);
52 XObject expr2 = m_right.execute(xctxt);
63 * @param xctxt The runtime execution context.
69 public boolean bool(XPathContext xctxt)
72 return (m_left.bool(xctxt) || m_right.bool(xctxt));
  /external/apache-xml/src/main/java/org/apache/xpath/objects/
XNodeSetForDOM.java 61 public XNodeSetForDOM(NodeList nodeList, XPathContext xctxt)
63 m_dtmMgr = xctxt.getDTMManager();
69 // m_obj=new org.apache.xpath.NodeSetDTM(nodeList, xctxt);
70 org.apache.xpath.NodeSetDTM nsdtm=new org.apache.xpath.NodeSetDTM(nodeList, xctxt);
75 public XNodeSetForDOM(NodeIterator nodeIter, XPathContext xctxt)
77 m_dtmMgr = xctxt.getDTMManager();
83 // m_obj = new org.apache.xpath.NodeSetDTM(nodeIter, xctxt);
84 org.apache.xpath.NodeSetDTM nsdtm=new org.apache.xpath.NodeSetDTM(nodeIter, xctxt);
  /external/apache-xml/src/main/java/org/apache/xpath/axes/
SubContextList.java 38 * @param xctxt The XPath runtime context.
42 public int getLastPos(XPathContext xctxt);
47 * @param xctxt The XPath runtime context.
51 public int getProximityPosition(XPathContext xctxt);

Completed in 133 milliseconds

1 2 3 4 5