gpt4 book ai didi

org.w3c.dom.xpath.XPathExpression.evaluate()方法的使用及代码示例

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

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

XPathExpression.evaluate介绍

[英]Evaluates this XPath expression and returns a result.
[中]计算此XPath表达式并返回结果。

代码示例

代码示例来源: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);

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