Home
last modified time | relevance | path

Searched refs:contextNode (Results 1 – 9 of 9) sorted by relevance

/external/apache-xml/src/main/java/org/apache/xpath/
DXPathAPI.java66 public static Node selectSingleNode(Node contextNode, String str) in selectSingleNode() argument
69 return selectSingleNode(contextNode, str, contextNode); in selectSingleNode()
84 Node contextNode, String str, Node namespaceNode) in selectSingleNode() argument
89 NodeIterator nl = selectNodeIterator(contextNode, str, namespaceNode); in selectSingleNode()
105 public static NodeIterator selectNodeIterator(Node contextNode, String str) in selectNodeIterator() argument
108 return selectNodeIterator(contextNode, str, contextNode); in selectNodeIterator()
123 Node contextNode, String str, Node namespaceNode) in selectNodeIterator() argument
128 XObject list = eval(contextNode, str, namespaceNode); in selectNodeIterator()
144 public static NodeList selectNodeList(Node contextNode, String str) in selectNodeList() argument
147 return selectNodeList(contextNode, str, contextNode); in selectNodeList()
[all …]
DCachedXPathAPI.java121 public Node selectSingleNode(Node contextNode, String str) in selectSingleNode() argument
124 return selectSingleNode(contextNode, str, contextNode); in selectSingleNode()
139 Node contextNode, String str, Node namespaceNode) in selectSingleNode() argument
144 NodeIterator nl = selectNodeIterator(contextNode, str, namespaceNode); in selectSingleNode()
160 public NodeIterator selectNodeIterator(Node contextNode, String str) in selectNodeIterator() argument
163 return selectNodeIterator(contextNode, str, contextNode); in selectNodeIterator()
178 Node contextNode, String str, Node namespaceNode) in selectNodeIterator() argument
183 XObject list = eval(contextNode, str, namespaceNode); in selectNodeIterator()
199 public NodeList selectNodeList(Node contextNode, String str) in selectNodeList() argument
202 return selectNodeList(contextNode, str, contextNode); in selectNodeList()
[all …]
DExpression.java244 public DTMIterator asIterator(XPathContext xctxt, int contextNode) in asIterator() argument
250 xctxt.pushCurrentNodeAndExpression(contextNode, contextNode); in asIterator()
275 public DTMIterator asIteratorRaw(XPathContext xctxt, int contextNode) in asIteratorRaw() argument
281 xctxt.pushCurrentNodeAndExpression(contextNode, contextNode); in asIteratorRaw()
DXPath.java299 XPathContext xctxt, org.w3c.dom.Node contextNode, in execute() argument
304 xctxt, xctxt.getDTMHandleFromNode(contextNode), in execute()
325 XPathContext xctxt, int contextNode, PrefixResolver namespaceContext) in execute() argument
331 xctxt.pushCurrentNodeAndExpression(contextNode, contextNode); in execute()
402 XPathContext xctxt, int contextNode, PrefixResolver namespaceContext) in bool() argument
408 xctxt.pushCurrentNodeAndExpression(contextNode, contextNode); in bool()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemNumber.java718 XPath getCountMatchPattern(XPathContext support, int contextNode) in getCountMatchPattern() argument
723 DTM dtm = support.getDTM(contextNode); in getCountMatchPattern()
726 switch (dtm.getNodeType(contextNode)) in getCountMatchPattern()
731 if (dtm.getNamespaceURI(contextNode) == null) { in getCountMatchPattern()
732 resolver = new MyPrefixResolver(dtm.getNode(contextNode), dtm,contextNode, false); in getCountMatchPattern()
734 resolver = new MyPrefixResolver(dtm.getNode(contextNode), dtm,contextNode, true); in getCountMatchPattern()
737 countMatchPattern = new XPath(dtm.getNodeName(contextNode), this, resolver, in getCountMatchPattern()
744 countMatchPattern = new XPath("@" + dtm.getNodeName(contextNode), this, in getCountMatchPattern()
766 countMatchPattern = new XPath("pi(" + dtm.getNodeName(contextNode) in getCountMatchPattern()
1033 Locale getLocale(TransformerImpl transformer, int contextNode) in getLocale() argument
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DXPathExpressionImpl.java121 Node contextNode = (Node)contextItem; in eval() local
125 if ( contextNode == null ) { in eval()
126 contextNode = getDummyDocument(); in eval()
129 xobj = xpath.execute(xpathSupport, contextNode, prefixResolver ); in eval()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DLocPathIterator.java264 XPathContext xctxt, int contextNode) in asIterator() argument
269 iter.setRoot(contextNode, xctxt); in asIterator()
/external/libxml2/
Dxpath.c7619 (xmlNodePtr cur, xmlNodePtr contextNode);
7788 xmlNodePtr contextNode)
7791 if (contextNode == NULL)
7793 switch (contextNode->type) {
7802 return(contextNode);
7837 if ((cur == NULL) || (cur == contextNode))
11662 xmlNodePtr contextNode, oldContextNode; in xmlXPathCompOpEvalPredicate() local
11712 contextNode = set->nodeTab[i]; in xmlXPathCompOpEvalPredicate()
11713 xpctxt->node = contextNode; in xmlXPathCompOpEvalPredicate()
11721 if ((contextNode->type != XML_NAMESPACE_DECL) && in xmlXPathCompOpEvalPredicate()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTransformerImpl.java1641 protected void pushGlobalVars(int contextNode) throws TransformerException in pushGlobalVars() argument
1657 XObject xobj = new XUnresolvedVariable(v, contextNode, this, in pushGlobalVars()