Class ClassSelector
java.lang.Object
dev.prozilla.pine.common.property.style.selector.Selector
dev.prozilla.pine.common.property.style.selector.ClassSelector
- All Implemented Interfaces:
Printable
A selector that matches elements with a specific class.
-
Constructor Details
-
ClassSelector
-
-
Method Details
-
matches
Description copied from class:Selector
Checks whether this selector matches a given node. -
getSpecificity
public int getSpecificity()Description copied from class:Selector
Returns an integer representing the specificity of this selector.- Specified by:
getSpecificity
in classSelector
- Returns:
- The specificity of this selector
-
toString
Description copied from interface:Printable
Returns a string representation of this object. -
equals
-