siblingselector.java

来自「cssparser -- CSS 的语法解析器。采用java语言编写。可用在服务」· Java 代码 · 共 37 行

JAVA
37
字号
/* * (c) COPYRIGHT 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/ * * $Id: SiblingSelector.java,v 1.1.1.1 2003/12/28 21:23:54 davidsch Exp $ */package org.w3c.css.sac;/** * @version $Revision: 1.1.1.1 $ * @author  Philippe Le Hegaret * @see Selector#SAC_DIRECT_ADJACENT_SELECTOR */public interface SiblingSelector extends Selector {    public static final short ANY_NODE = 201;    /**     * The node type to considered in the siblings list.     * All DOM node types are supported. In order to support the "any" node     * type, the code ANY_NODE is added to the DOM node types.     */    public short getNodeType();        /**     * Returns the first selector.     */        public Selector getSelector();    /*     * Returns the second selector.     */        public SimpleSelector getSiblingSelector();}

⌨️ 快捷键说明

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