All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.w3c.css.parser.analyzer.Couple Maven / Gradle / Ivy

The newest version!
//
// $Id: Couple.java,v 1.4 2005-09-14 15:14:18 ylafon Exp $
// From Philippe Le Hegaret ([email protected])
//
// (c) COPYRIGHT MIT and INRIA, 1997.
// Please first read the full copyright statement in file COPYRIGHT.html

package org.w3c.css.parser.analyzer;

import org.w3c.css.values.CssExpression;

/**
 * This class represents a couple : an at-rule property and an at-rule
 * expression.
 *
 * @version $Revision: 1.4 $
 */
public class Couple {

  /**
   * The at-rule property.
   */
  protected String property;

  /**
   * The at-rule expression.
   */
  protected CssExpression expression;

  /**
   * Is this at-rule is important
   */
  protected boolean important;

  /**
   * Create a new Couple
   *
   * @param property The at-rule property.
   * @param expression The at-rule expression.
   * @param important Is this at-rule is important
   */
  public Couple(String property, CssExpression expression, boolean important) {
    this.property = property;
    this.expression = expression;
    this.important = important;
  }

  /**
   * Get the at-rule property
   */
  public final String getProperty() {
    return property;
  }

  /**
   * get the at-rule expression
   */
  public final CssExpression getExpression() {
    return expression;
  }

  /**
   * Is this at-rule is important
   */
  public final boolean getImportant() {
    return important;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy