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:SelectorChecks whether this selector matches a given node. -
getSpecificity
public int getSpecificity()Description copied from class:SelectorReturns an integer representing the specificity of this selector.- Specified by:
getSpecificityin classSelector- Returns:
- The specificity of this selector
-
toString
Description copied from interface:PrintableReturns a string representation of this object. -
equals
-