gpt4 book ai didi

org.w3c.dom.xpath.XPathExpression类的使用及代码示例

转载 作者:知者 更新时间:2024-03-26 11:11:05 27 4
gpt4 key购买 nike

本文整理了Java中org.w3c.dom.xpath.XPathExpression类的一些代码示例,展示了XPathExpression类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XPathExpression类的具体详情如下:
包路径:org.w3c.dom.xpath.XPathExpression
类名称:XPathExpression

XPathExpression介绍

[英]The XPathExpression interface represents a parsed and resolved XPath expression.

See also the Document Object Model (DOM) Level 3 XPath Specification.
[中]XPathExpression接口表示一个经过解析和解析的XPath表达式。
另见Document Object Model (DOM) Level 3 XPath Specification

代码示例

代码示例来源:origin: xalan/xalan

return	xpathExpression.evaluate(contextNode, type, result);

代码示例来源:origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <b>DOM</b>: Implements
 * {@link org.w3c.dom.xpath.XPathEvaluator#evaluate(String,Node,XPathNSResolver,short,Object)}.
 */
public Object evaluate(String expression,
            Node contextNode,
            XPathNSResolver resolver,
            short type,
            Object result)
    throws XPathException, DOMException {
  XPathExpression xpath = createExpression(expression, resolver);
  return xpath.evaluate(contextNode, type, result);
}

代码示例来源:origin: org.apache.xmlgraphics/batik-dom

/**
 * <b>DOM</b>: Implements
 * {@link org.w3c.dom.xpath.XPathEvaluator#evaluate(String,Node,XPathNSResolver,short,Object)}.
 */
public Object evaluate(String expression,
            Node contextNode,
            XPathNSResolver resolver,
            short type,
            Object result)
    throws XPathException, DOMException {
  XPathExpression xpath = createExpression(expression, resolver);
  return xpath.evaluate(contextNode, type, result);
}

代码示例来源:origin: apache/batik

/**
 * <b>DOM</b>: Implements
 * {@link org.w3c.dom.xpath.XPathEvaluator#evaluate(String,Node,XPathNSResolver,short,Object)}.
 */
public Object evaluate(String expression,
            Node contextNode,
            XPathNSResolver resolver,
            short type,
            Object result)
    throws XPathException, DOMException {
  XPathExpression xpath = createExpression(expression, resolver);
  return xpath.evaluate(contextNode, type, result);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

return	xpathExpression.evaluate(contextNode, type, result);

代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan

return	xpathExpression.evaluate(contextNode, type, result);

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

return	xpathExpression.evaluate(contextNode, type, result);

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

return	xpathExpression.evaluate(contextNode, type, result);

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

return	xpathExpression.evaluate(contextNode, type, result);

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com