1 /* 2 * (c) COPYRIGHT 1999 World Wide Web Consortium 3 * (Massachusetts Institute of Technology, Institut National de Recherche 4 * en Informatique et en Automatique, Keio University). 5 * All Rights Reserved. http://www.w3.org/Consortium/Legal/ 6 * 7 * $Id: SiblingSelector.java,v 1.1.1.1 2003/12/28 21:23:54 davidsch Exp $ 8 */ 9 package org.w3c.css.sac; 10 11 /** 12 * @version $Revision: 1.1.1.1 $ 13 * @author Philippe Le Hegaret 14 * @see Selector#SAC_DIRECT_ADJACENT_SELECTOR 15 */ 16 public interface SiblingSelector extends Selector { 17 18 public static final short ANY_NODE = 201; 19 20 /** 21 * The node type to considered in the siblings list. 22 * All DOM node types are supported. In order to support the "any" node 23 * type, the code ANY_NODE is added to the DOM node types. 24 */ 25 public short getNodeType(); 26 27 /** 28 * Returns the first selector. 29 */ 30 public Selector getSelector(); 31 32 /* 33 * Returns the second selector. 34 */ 35 public SimpleSelector getSiblingSelector(); 36 } 37