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 Detail

      • getType

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

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