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

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

本文整理了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

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

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

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

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

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

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

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

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

  1. public boolean isSupported(String feature, String version)
  2. {
  3. return domNode.isSupported(feature, version);
  4. }

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

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

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

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

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

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

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

  1. /**
  2. * @param feature
  3. * @param version
  4. * @return
  5. * @see org.w3c.dom.Node#isSupported(java.lang.String, java.lang.String)
  6. */
  7. public boolean isSupported(String feature, String version) {
  8. return parent.isSupported(feature, version);
  9. }

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

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

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

  1. public boolean isSupported(String feature, String version)
  2. {
  3. return _delegate.isSupported(feature, version);
  4. }

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

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

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

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

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

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

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

  1. /**
  2. * Runs the test case.
  3. * @throws Throwable Any uncaught exception causes test to fail
  4. */
  5. public void runTest() throws Throwable {
  6. Document doc;
  7. Node rootNode;
  8. boolean state;
  9. doc = (Document) load("staff", false);
  10. rootNode = doc.getDocumentElement();
  11. state = rootNode.isSupported("XXX", "1.0");
  12. assertFalse("throw_False", state);
  13. }
  14. /**

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

  1. /**
  2. * Runs the test case.
  3. * @throws Throwable Any uncaught exception causes test to fail
  4. */
  5. public void runTest() throws Throwable {
  6. Document doc;
  7. Node rootNode;
  8. boolean state;
  9. doc = (Document) load("staff", false);
  10. rootNode = doc.getDocumentElement();
  11. state = rootNode.isSupported("XML", "");
  12. assertTrue("throw_True", state);
  13. }
  14. /**

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

  1. /**
  2. * Runs the test case.
  3. * @throws Throwable Any uncaught exception causes test to fail
  4. */
  5. public void runTest() throws Throwable {
  6. Document doc;
  7. Node rootNode;
  8. boolean state;
  9. doc = (Document) load("staff", false);
  10. rootNode = doc.getDocumentElement();
  11. state = rootNode.isSupported("XML", "1.0");
  12. assertTrue("throw_True", state);
  13. }
  14. /**

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

  1. /**
  2. * Runs the test case.
  3. * @throws Throwable Any uncaught exception causes test to fail
  4. */
  5. public void runTest() throws Throwable {
  6. Document doc;
  7. Node rootNode;
  8. boolean state;
  9. doc = (Document) load("staff", false);
  10. rootNode = doc.getDocumentElement();
  11. state = rootNode.isSupported("xml", "1.0");
  12. assertTrue("throw_True", state);
  13. }
  14. /**

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

  1. /**
  2. * Runs the test case.
  3. * @throws Throwable Any uncaught exception causes test to fail
  4. */
  5. public void runTest() throws Throwable {
  6. Document doc;
  7. Node rootNode;
  8. boolean state;
  9. doc = (Document) load("staff", false);
  10. rootNode = doc.getDocumentElement();
  11. state = rootNode.isSupported("XML", "9.0");
  12. assertFalse("throw_False", state);
  13. }
  14. /**

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

  1. /**
  2. * Runs the test case.
  3. * @throws Throwable Any uncaught exception causes test to fail
  4. */
  5. public void runTest() throws Throwable {
  6. Document doc;
  7. Node rootNode;
  8. boolean state;
  9. doc = (Document) load("staff", false);
  10. rootNode = doc.getDocumentElement();
  11. state = rootNode.isSupported("core", "2.0");
  12. assertTrue("throw_True", state);
  13. }
  14. /**

相关文章