01: /*
02: * (c) COPYRIGHT 1999 World Wide Web Consortium
03: * (Massachusetts Institute of Technology, Institut National de Recherche
04: * en Informatique et en Automatique, Keio University).
05: * All Rights Reserved. http://www.w3.org/Consortium/Legal/
06: *
07: * $Id$
08: */
09: package org.w3c.css.sac;
10:
11: /**
12: * @version $Revision$
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: }
|