
w3c.css.parser.AtRule Maven / Gradle / Ivy
//
// $Id$
// 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$
*/
package org.w3c.css.parser;
/**
* @author Philippe Le Hegaret
* @version $Revision$
*/
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 canMatch(AtRule atRule);
public boolean isEmpty() {
return false;
}
public String lookupPrefix() {
return keyword();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy