w3c.css.parser.AtRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cssvalidator Show documentation
Show all versions of cssvalidator Show documentation
Backend for the W3C CSS Validation Service
//
// $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 abstract boolean isEmpty();
public String lookupPrefix() {
return keyword();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy