Interface Rule

All Known Implementing Classes:
FontFaceRule, ImportRule, MediaRule, StyleRule

public interface Rule
This interface represents a CSS rule.
  • Method Summary

    Modifier and Type
    Method
    Description
    short
    Returns a constant identifying the rule type.
    Returns a printable representation of this rule.
  • Method Details

    • getType

      short getType()
      Returns a constant identifying the rule type.
    • toString

      String toString(CSSEngine eng)
      Returns a printable representation of this rule.