w3c.css.properties.css3.CssColumnRuleStyle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cssvalidator Show documentation
Show all versions of cssvalidator Show documentation
Backend for the W3C CSS Validation Service
//
// From Sijtsche de Jong ([email protected])
// Rewritten Yves lafon
//
// COPYRIGHT (c) 1995-2018 World Wide Web Consortium, (MIT, ERCIM and Keio)
// Please first read the full copyright statement in file COPYRIGHT.html
package org.w3c.css.properties.css3;
import org.w3c.css.util.ApplContext;
import org.w3c.css.util.InvalidParamException;
import org.w3c.css.values.CssExpression;
/**
* @spec https://www.w3.org/TR/2018/WD-css-multicol-1-20180528/#propdef-column-rule-style
*/
public class CssColumnRuleStyle extends org.w3c.css.properties.css.CssColumnRuleStyle {
/**
* Create a new CssColumnRuleStyle
*/
public CssColumnRuleStyle() {
value = initial;
}
/**
* Create a new CssColumnRuleStyle
*
* @param ac the context
* @param expression The expression for this property
* @param check if check on length is required
* @throws org.w3c.css.util.InvalidParamException
* Incorrect value
*/
public CssColumnRuleStyle(ApplContext ac, CssExpression expression,
boolean check) throws InvalidParamException {
setByUser();
value = CssBorderStyle.checkBorderSideStyle(ac, this, expression, check);
}
public CssColumnRuleStyle(ApplContext ac, CssExpression expression)
throws InvalidParamException {
this(ac, expression, false);
}
/**
* Is the value of this property a default value
* It is used by all macro for the function print
*/
public boolean isDefault() {
return value == initial;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy