All Downloads are FREE. Search and download functionalities are using the official Maven repository.

w3c.css.parser.CssSelectorsConstant Maven / Gradle / Ivy

There is a newer version: 1.0.8
Show newest version
//
// $Id$
// From Philippe Le Hegaret ([email protected])
// Updated September 20th 2000 Sijtsche de Jong ([email protected])
//
// (c) COPYRIGHT MIT and INRIA, 1997.
// Please first read the full copyright statement in file COPYRIGHT.html

package org.w3c.css.parser;

/**
 * @version $Revision$
 */
public interface CssSelectorsConstant {

    /**
     * [lang="fr"]
     */
    public static final int ATTRIBUTE_EXACT = ' ';
    /**
     * [lang~="fr"]
     */
    public static final int ATTRIBUTE_ONE_OF = '~';
    /**
     * class selector == like [lang~="fr"]
     */
    public static final int ATTRIBUTE_CLASS_SEL = '.';
    /**
     * [lang|="fr"]
     */
    public static final int ATTRIBUTE_BEGIN = '|';
    /**
     * [lang]
     */
    public static final int ATTRIBUTE_ANY = -1;
    /**
     * [foo^="bar"]
     */
    public static final int ATTRIBUTE_START = '^';
    /**
     * [foo$="bar"]
     */
    public static final int ATTRIBUTE_SUFFIX = '$';
    /**
     * [foo*="bar"]
     */
    public static final int ATTRIBUTE_SUBSTR = '*';

    /**
     * Maximun of ATTRIBUTE_ONE_OF
     */
    public static final int ATTRIBUTE_LENGTH = 10;

    /**
     * descendant connector
     */
    public static final char DESCENDANT = ' ';
    /**
     * child connector
     */
    public static final char CHILD = '>';
    /**
     * adjacent sibling connector
     */
    public static final char ADJACENT_SIBLING = '+';
    /**
     * general sibling connector
     */
    public static final char GENERAL_SIBLING = '~';
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy