Class NestedDeclarations

java.lang.Object
io.sf.carte.echosvg.css.engine.NestedDeclarations
All Implemented Interfaces:
Rule

public class NestedDeclarations extends Object
Nested declarations.
  • Field Details

  • Constructor Details

    • NestedDeclarations

      public NestedDeclarations()
  • Method Details

    • getType

      public short getType()
      Returns a constant identifying the rule type.
      Specified by:
      getType in interface Rule
    • setStyleDeclaration

      public void setStyleDeclaration(StyleDeclaration sd)
      Sets the style map.
    • getStyleDeclaration

      public StyleDeclaration getStyleDeclaration()
      Returns the style declaration.
    • toString

      public String toString(CSSEngine eng)
      Returns a printable representation of this rule.
      Specified by:
      toString in interface Rule
    • getParent

      public RuleGroup getParent()
      Description copied from interface: Rule
      Returns the parent group.
      Specified by:
      getParent in interface Rule
      Returns:
      the parent group, or null if the parent group of this rule does not matter when processing it.
    • setParent

      protected void setParent(RuleGroup parent)