Interface Rule

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

public interface Rule
This interface represents a CSS rule.
Version:
$Id: Rule.java 1733416 2016-03-03 07:07:13Z gadams $
  • 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.