org.w3c.dom.Node.isSupported()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(5.2k)|赞(0)|评价(0)|浏览(130)

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

Node.isSupported介绍

[英]Tests whether the DOM implementation implements a specific feature and that feature is supported by this node, as specified in .
[中]测试DOM实现是否实现特定功能,以及此节点是否支持该功能,如中所述。

代码示例

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

@Override
public boolean isSupported(String feature, String version) {
  return node.isSupported(feature, version);
}

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

/**
 * @see org.w3c.dom.Node#isSupported(String, String)
 */
public boolean isSupported(String arg0, String arg1) {
  return m_attributeNode.isSupported(arg0, arg1);
}

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

/**
 * @see org.w3c.dom.Node#isSupported(String, String)
 */
public boolean isSupported(String arg0, String arg1) {
  return m_attributeNode.isSupported(arg0, arg1);
}

代码示例来源:origin: xyz.cofe/common

@Override
public boolean isSupported(String feature, String version) {
  return node.isSupported(feature, version);
}

代码示例来源:origin: org.jboss.ws.native/jbossws-native-core

public boolean isSupported(String feature, String version)
{
 return domNode.isSupported(feature, version);
}

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

/**
 * @see org.w3c.dom.Node#isSupported(String, String)
 */
public boolean isSupported(String arg0, String arg1) {
  return m_attributeNode.isSupported(arg0, arg1);
}

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

/**
 * @see org.w3c.dom.Node#isSupported(String, String)
 */
public boolean isSupported(String arg0, String arg1) {
  return m_attributeNode.isSupported(arg0, arg1);
}

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

/**
 * @see org.w3c.dom.Node#isSupported(String, String)
 */
public boolean isSupported(String arg0, String arg1) {
  return m_attributeNode.isSupported(arg0, arg1);
}

代码示例来源:origin: fbacchella/jrds

/**
 * @param feature
 * @param version
 * @return
 * @see org.w3c.dom.Node#isSupported(java.lang.String, java.lang.String)
 */
public boolean isSupported(String feature, String version) {
  return parent.isSupported(feature, version);
}

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

/**
 * @see org.w3c.dom.Node#isSupported(String, String)
 */
public boolean isSupported(String arg0, String arg1) {
  return m_attributeNode.isSupported(arg0, arg1);
}

代码示例来源:origin: org.vx68k.quercus/quercus

public boolean isSupported(String feature, String version)
{
 return _delegate.isSupported(feature, version);
}

代码示例来源:origin: org.apache.axis2/axis2-saaj

public final boolean isSupported(String feature, String version) {
  return target.isSupported(feature, version);
}

代码示例来源:origin: apache/axis2-java

public final boolean isSupported(String feature, String version) {
  return target.isSupported(feature, version);
}

代码示例来源:origin: com.opensymphony/webwork

public boolean isSupported(String s, String s1) {
  log.trace("isSupported");
  // Is this ok?  What kind of features are they asking about?
  return node().isSupported(s, s1);
}

代码示例来源:origin: org.apache.ws.commons.axiom/dom-testsuite

/**
  * Runs the test case.
  * @throws Throwable Any uncaught exception causes test to fail
  */
  public void runTest() throws Throwable {
   Document doc;
   Node rootNode;
   boolean state;
   doc = (Document) load("staff", false);
   rootNode = doc.getDocumentElement();
   state = rootNode.isSupported("XXX", "1.0");
   assertFalse("throw_False", state);
}
  /**

代码示例来源:origin: org.apache.ws.commons.axiom/dom-testsuite

/**
* Runs the test case.
* @throws Throwable Any uncaught exception causes test to fail
*/
public void runTest() throws Throwable {
 Document doc;
 Node rootNode;
 boolean state;
 doc = (Document) load("staff", false);
 rootNode = doc.getDocumentElement();
 state = rootNode.isSupported("XML", "");
 assertTrue("throw_True", state);
 }
/**

代码示例来源:origin: org.apache.ws.commons.axiom/dom-testsuite

/**
* Runs the test case.
* @throws Throwable Any uncaught exception causes test to fail
*/
public void runTest() throws Throwable {
 Document doc;
 Node rootNode;
 boolean state;
 doc = (Document) load("staff", false);
 rootNode = doc.getDocumentElement();
 state = rootNode.isSupported("XML", "1.0");
 assertTrue("throw_True", state);
 }
/**

代码示例来源:origin: org.apache.ws.commons.axiom/dom-testsuite

/**
* Runs the test case.
* @throws Throwable Any uncaught exception causes test to fail
*/
public void runTest() throws Throwable {
 Document doc;
 Node rootNode;
 boolean state;
 doc = (Document) load("staff", false);
 rootNode = doc.getDocumentElement();
 state = rootNode.isSupported("xml", "1.0");
 assertTrue("throw_True", state);
 }
/**

代码示例来源:origin: org.apache.ws.commons.axiom/dom-testsuite

/**
  * Runs the test case.
  * @throws Throwable Any uncaught exception causes test to fail
  */
  public void runTest() throws Throwable {
   Document doc;
   Node rootNode;
   boolean state;
   doc = (Document) load("staff", false);
   rootNode = doc.getDocumentElement();
   state = rootNode.isSupported("XML", "9.0");
   assertFalse("throw_False", state);
}
  /**

代码示例来源:origin: org.apache.ws.commons.axiom/dom-testsuite

/**
* Runs the test case.
* @throws Throwable Any uncaught exception causes test to fail
*/
public void runTest() throws Throwable {
 Document doc;
 Node rootNode;
 boolean state;
 doc = (Document) load("staff", false);
 rootNode = doc.getDocumentElement();
 state = rootNode.isSupported("core", "2.0");
 assertTrue("throw_True", state);
 }
/**

相关文章