Module org.jhotdraw8.css
Package org.jhotdraw8.css.ast
package org.jhotdraw8.css.ast
Provides a representation of a parsed style sheet (CSS 3) as an abstract
syntax tree (AST).
-
ClassDescriptionAn abstract "attribute selector" matches an element based on its attributes.Abstract syntax tree for cascading style sheets.An "adjacent sibling combinator" matches an element if its first selector matches on the adjacent sibling of the element and if its second selector matches the element.An "and combinator" matches an element if both its first selector and its second selector match the element.An "at-rule" consists of an "at-keyword", a list of header tokens and a list of body tokens.A "child combinator" matches an element if its first selector matches on the parent of the element and if its second selector matches on the element itself.A "class selector" matches an element if the element has a style class with the specified value.Abstract superclass for "combinator"s.A ComponentValue is the abstract base class of CssToken, CurlyBlock, RoundBlock, SquareBlock and FunctionBlock.A "dash match selector"
|=matches an element if the element has an attribute with the specified name and its value is either exactly the specified substring or its value begins with the specified substring immediately followed by a dash '-' character.A "declaration" associates a "propertyName" with a list of preserved tokens.A "descendant combinator" matches an element if its first selector matches on an ancestor of the element and if its second selector matches on the element itself.An "attribute value selector" matches an element if the element has an attribute with the specified name and value.An "exists match" matches an element if the element has an attribute with the specified name.A "class selector" matches an element based on the value of its "pseudo class" attribute.An "general sibling combinator" matches an element if its first selector matches the sibling of the element and if its second selector matches the element.An "id selector" matches an element if the element has an id with the specified value.An "include match selector"~=matches an element if the element has an attribute with the specified name and the attribute value contains a word list with the specified word.Implements the negation pseudo-class selector.A "prefix match selector"^=matches an element if the element has an attribute with the specified name and its value starts with the specified substring.A "pseudo class selector" matches an element based on criteria which are not directly encoded in the element.A "select nothing selector" matches nothing.A "selector" is a tree of "combinator"s.A "selector group" matches an element if one of its selectors matches the element.A "simple class selector" matches an element based on the value of its "pseudo class" attribute.Abstract superclass for "simple selector"s.Indicates the position of a node in a source file, intended primarily for error reporting.A style rule associates a selector list to a list of declarations.A stylesheet is a list of rules.A "substring match selector"*=matches an element if the element has an attribute with the specified name and its value contains the specified substring.A "suffix match selector"$=matches an element if the element has an attribute with the specified name and its value ends with the specified substring.A "type selector" matches an element if the element has a specific type.A "universal selector" matches an element if the element exists.