![JAR search and dependency download from the Maven repository](/logo.png)
cz.vutbr.web.css.MatchCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jstyleparser Show documentation
Show all versions of jstyleparser Show documentation
jStyleParser is a CSS parser written in Java. It has its own application interface that is designed to allow an efficient CSS processing in Java and mapping the values to the Java data types. It parses CSS 2.1 style sheets into structures that can be efficiently assigned to DOM elements. It is intended be the primary CSS parser for the CSSBox library. While handling errors, it is user agent conforming according to the CSS specification.
The newest version!
/**
* MatchCondition.java
*
* Created on 1.7.2013, 11:03:32 by burgetr
*/
package cz.vutbr.web.css;
import cz.vutbr.web.css.Selector.SelectorPart;
import org.w3c.dom.Element;
/**
* An additional condition for matching the selectors.
*
* @author burgetr
*/
public interface MatchCondition extends Cloneable
{
/**
* Checks whether the condition is satisfied for the given element and selector part.
* @param e The element to be tested.
* @param selpart The selector part.
* @return true
when the condition is satisfied
*/
public boolean isSatisfied(Element e, SelectorPart selpart);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy