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

org.w3c.css.parser.AtRule Maven / Gradle / Ivy

The newest version!
//
// $Id: AtRule.java,v 1.5 2009-02-13 14:03:36 ylafon Exp $
// From Philippe Le Hegaret ([email protected])
//
// (c) COPYRIGHT MIT and INRIA, 1997.
// Please first read the full copyright statement in file COPYRIGHT.html
/*
 * AtRule.java
 * $Id: AtRule.java,v 1.5 2009-02-13 14:03:36 ylafon Exp $
 */
package org.w3c.css.parser;

/**
 * @version $Revision: 1.5 $
 * @author  Philippe Le Hegaret
 */
public abstract class AtRule {

    /**
     * Returns the at rule keyword
     */
    public abstract String keyword();

    /**
     * The second must be exactly the same of this one
     */
    public abstract boolean canApply(AtRule atRule);

    /**
     * The second must only match this one
     */
    public abstract boolean canMatched(AtRule atRule);

    public boolean isEmpty() {
	return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy