Class CssDeclaration

java.lang.Object
com.itextpdf.styledxmlparser.css.CssDeclaration

public class CssDeclaration extends Object
Class to store a CSS declaration.
  • Constructor Details

    • CssDeclaration

      public CssDeclaration (String property, String expression)
      Instantiates a new CSS declaration.
      Parameters:
      property - the property
      expression - the expression
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getProperty

      public String getProperty()
      Gets the property.
      Returns:
      the property
    • getExpression

      public String getExpression()
      Gets the expression.
      Returns:
      the expression
    • setExpression

      public void setExpression (String expression)
      Sets the expression.
      Parameters:
      expression - the new expression