~ubuntu-branches/ubuntu/hardy/sacjava/hardy

« back to all changes in this revision

Viewing changes to org/w3c/css/sac/SiblingSelector.java

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2007-09-24 14:44:47 UTC
  • Revision ID: james.westby@ubuntu.com-20070924144447-nb3jprqn2x03ul3n
Tags: upstream-1.3
ImportĀ upstreamĀ versionĀ 1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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.3 2000/07/27 21:19:21 plehegar Exp $
 
8
 */
 
9
package org.w3c.css.sac;
 
10
 
 
11
/**
 
12
 * @version $Revision: 1.3 $
 
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
}