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

cz.vutbr.web.css.RuleMedia Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 4.0.0
Show newest version
package cz.vutbr.web.css;

import java.util.List;

/**
 * Contains CSS rules associated with medias. 
 * Externally provides view of collection of defined RuleSet 
 * with additional media information.
 * 
 * @author burgetr
 * @author kapy
 * @author Jan Svercl, VUT Brno, 2008,
 * 
 */
public interface RuleMedia extends RuleBlock, PrettyOutput {

	/**
	 * Returns list of all media associated with this rule
	 * @return List of media
	 */
	public List getMediaQueries();	
	
	/**
	 * Sets media associated with rules
	 * @param media Media associated
	 * @return Modified instance
	 */
	public RuleMedia setMediaQueries(List media);	

	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy