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

1 2 3 4 5

  /dalvik/libcore/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);
  /dalvik/libcore/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...]
  /dalvik/libcore/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));
VariableSafeAbsRef.java 52 * @param xctxt The runtime execution context.
58 public XObject execute(XPathContext xctxt, boolean destructiveOK)
61 XNodeSet xns = (XNodeSet)super.execute(xctxt, destructiveOK);
62 DTMManager dtmMgr = xctxt.getDTMManager();
63 int context = xctxt.getContextNode();
68 xns = (XNodeSet)expr.asIterator(xctxt, context);
Div.java 54 * @param xctxt The runtime execution context.
60 public double num(XPathContext xctxt)
64 return (m_left.num(xctxt) / m_right.num(xctxt));
Minus.java 55 * @param xctxt The runtime execution context.
61 public double num(XPathContext xctxt)
65 return (m_left.num(xctxt) - m_right.num(xctxt));
Mod.java 54 * @param xctxt The runtime execution context.
60 public double num(XPathContext xctxt)
64 return (m_left.num(xctxt) % m_right.num(xctxt));
Mult.java 54 * @param xctxt The runtime execution context.
60 public double num(XPathContext xctxt)
63 return (m_left.num(xctxt) * m_right.num(xctxt));
Plus.java 54 * @param xctxt The runtime execution context.
60 public double num(XPathContext xctxt)
64 return (m_right.num(xctxt) + m_left.num(xctxt));
  /dalvik/libcore/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...]
  /dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/
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...]
FuncPosition.java 52 * @param xctxt Runtime XPath context.
57 public int getPositionInContextNodeList(XPathContext xctxt)
62 SubContextList iter = m_isTopLevel ? null : xctxt.getSubContextList();
66 int prox = iter.getProximityPosition(xctxt);
72 DTMIterator cnl = xctxt.getContextNodeList();
95 int currentNode = xctxt.getContextNode();
115 * @param xctxt The current execution context.
120 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
122 double pos = (double) getPositionInContextNodeList(xctxt);
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());
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())
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();
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...]
FuncBoolean.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).bool() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
FuncCeiling.java 38 * @param xctxt The current execution context.
43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
45 return new XNumber(Math.ceil(m_arg0.execute(xctxt).num()));
FuncFloor.java 38 * @param xctxt The current execution context.
43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
45 return new XNumber(java.lang.Math.floor(m_arg0.execute(xctxt).num()));
  /dalvik/libcore/xml/src/main/java/org/apache/xpath/
Expression.java 83 * @param xctxt The XPath runtime context.
91 public XObject execute(XPathContext xctxt, int currentNode)
96 return execute(xctxt);
104 * @param xctxt The XPath runtime context.
115 XPathContext xctxt, int currentNode, DTM dtm, int expType)
120 return execute(xctxt);
128 * @param xctxt The XPath runtime context.
135 public abstract XObject execute(XPathContext xctxt)
141 * to be returned. The default implementation just calls execute(xctxt).
144 * @param xctxt The XPath runtime context
    [all...]
XPath.java 286 * @param xctxt The execution context.
299 XPathContext xctxt, org.w3c.dom.Node contextNode,
304 xctxt, xctxt.getDTMHandleFromNode(contextNode),
313 * @param xctxt The execution context.
325 XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)
329 xctxt.pushNamespaceContext(namespaceContext);
331 xctxt.pushCurrentNodeAndExpression(contextNode, contextNode);
337 xobj = m_mainExp.execute(xctxt);
342 ErrorListener el = xctxt.getErrorListener()
    [all...]

Completed in 94 milliseconds

1 2 3 4 5