⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node2.java

📁 使用方法: 实例程序的运行: 每个实例下都有本实例的.xml文件或.html文件或.xsl文件
💻 JAVA
字号:
/*
 * Copyright (c) 1999 World Wide Web Consortium,
 * (Massachusetts Institute of Technology, Institut National de Recherche
 *  en Informatique et en Automatique, Keio University).
 * All Rights Reserved. http://www.w3.org/Consortium/Legal/
 */

package org.w3c.dom;

/**
 * The <code>Node</code> interface is extended with an additional method to 
 * test if it supports a specific feature.
 */
public interface Node2 extends Node {
  /**
   * Tests whether the DOM implementation implements a specific feature and 
   * that feature is supported by this node.
   * @param feature The package name of the feature to test. This is the same 
   *   name as what can be passed to the method <code>hasFeature</code> on 
   *   <code>DOMImplementation</code>. 
   * @param version This is the version number of the package name to test. In 
   *   Level 2, version 1, this is the string "2.0". If the version is not 
   *   specified, supporting any version of the feature will cause the method 
   *   to return <code>true</code>.
   * @return Returns <code>true</code> if this node defines a subtree within 
   *   which the specified feature is supported, <code>false</code> otherwise.
   */
  public boolean            supports(String feature, 
                                     String version);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -