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

📄 simplenodefilter.java

📁 用Java写的面相对象的数据库管理系统
💻 JAVA
字号:
// You can redistribute this software and/or modify it under the terms of// the Ozone Library License version 1 published by ozone-db.org.//// The original code and portions created by SMB are// Copyright (C) 1997-2000 by SMB GmbH. All rights reserved.//// $Id: SimpleNodeFilter.java,v 1.4 2000/10/28 16:55:25 daniela Exp $package org.ozoneDB.xml.xpath;import org.w3c.dom.Element;import org.w3c.dom.Node;import org.w3c.dom.traversal.NodeFilter;/** * This class implements the DOM Level 2 NodeFilter interface. The method * <CODE>acceptNode()</CODE>, called by a TreeWalker of NodeIterator while traversing * the DOM tree, accepts all Nodes by default. *  *  * @version $Revision: 1.4 $ $Date: 2000/10/28 16:55:25 $ * @author <a href="http://www.softwarebuero.de">SMB</a> */public class SimpleNodeFilter implements NodeFilter {            /**     * Zero-argument constructor.     */    public SimpleNodeFilter() {    }            /**     * Accepts every kind of node by default.     * @return NodeFilter.FILTER_ACCEPT by default.     */    public short acceptNode( Node node ) {        return NodeFilter.FILTER_ACCEPT;    }     }

⌨️ 快捷键说明

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