public final class CssSelectorParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<ICssSelector> |
parseCommaSeparatedSelectors(String arguments)
Parses a comma-separated list of CSS selectors from a string and returns a list of
ICssSelector objects that represent the selectors. |
static List<ICssSelectorItem> |
parseSelectorItems(String selector)
Parses the given CSS selector string into a list of
ICssSelectorItem objects. |
public static List<ICssSelector> parseCommaSeparatedSelectors(String arguments)
ICssSelector objects that represent the selectors.arguments - the string containing a comma-separated list of CSS selectorsICssSelector objects representing the parsed selectorspublic static List<ICssSelectorItem> parseSelectorItems(String selector)
ICssSelectorItem objects.
This method processes the selector string character by character, handling state transitions
and escape sequences to generate a structured representation of the selector components.selector - the CSS selector string to be parsedICssSelectorItem objects representing the components of the parsed selectorCopyright © 1998–2026 Apryse Group NV. All rights reserved.