Class ImportRule

java.lang.Object
io.sf.carte.doc.style.css.om.AbstractCSSRule
io.sf.carte.doc.style.css.om.ImportRule
All Implemented Interfaces:
CSSImportRule, CSSRule, Serializable, CSSImportRule, CSSRule

public class ImportRule extends AbstractCSSRule implements CSSImportRule, CSSRule
Implementation of CSSImportRule.
See Also:
  • Constructor Details

    • ImportRule

      protected ImportRule(AbstractCSSStyleSheet parentSheet, String layerName, BooleanCondition supportsCondition, MediaQueryList mediaList, String href, int origin)
      Construct an import rule with the given parameters.
      Parameters:
      parentSheet - the parent style sheet.
      layerName - the layer name declared in the at-rule itself, or an empty string if the layer is anonymous, or null if the at-rule does not declare a layer.
      supportsCondition - the supports condition, or null if none.
      mediaList - the media list to which the sheet shall apply.
      href - the URI from which to import the sheet.
      origin - the origin of the rule.
  • Method Details