Class Stylesheet

java.lang.Object
org.xhtmlrenderer.css.sheet.Stylesheet
All Implemented Interfaces:
RulesetContainer

public class Stylesheet extends Object implements RulesetContainer
A representation of a CSS style sheet. A Stylesheet has the sheet's rules in Ruleset, and has an origin--either user agent, user, or author. A Stylesheet can only be instantiated from a SAC CSSStyleSheet instance-- this would be the output of a SAC-compliant parser after parsing a CSS stream or source. A Stylesheet is immutable; after instantiation, you can query the origin and the Ruleset, but not modify either of them.