java.lang.Object
org.jhotdraw8.css.ast.AbstractSyntaxTree
org.jhotdraw8.css.ast.Selector
org.jhotdraw8.css.ast.SimpleSelector
org.jhotdraw8.css.ast.PseudoClassSelector
org.jhotdraw8.css.ast.FunctionPseudoClassSelector
- Direct Known Subclasses:
NegationPseudoClassSelector
A "class selector" matches an element based on the value of its "pseudo
class" attribute.
- Author:
- Werner Randelshofer
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionPseudoClassSelector(@Nullable SourceLocator sourceLocator, @NonNull String functionIdentifier) -
Method Summary
Methods inherited from class org.jhotdraw8.css.ast.PseudoClassSelector
getSpecificityMethods inherited from class org.jhotdraw8.css.ast.Selector
matches, matchesOnlyOnASpecificTypeMethods inherited from class org.jhotdraw8.css.ast.AbstractSyntaxTree
getSourceLocator
-
Constructor Details
-
FunctionPseudoClassSelector
public FunctionPseudoClassSelector(@Nullable SourceLocator sourceLocator, @NonNull String functionIdentifier)
-
-
Method Details
-
toString
-
match
Description copied from class:SelectorReturns the matching element. -
getFunctionIdentifier
-
produceTokens
Description copied from class:AbstractSyntaxTreeProduces tokens for the subtree starting at this tree node.- Overrides:
produceTokensin classAbstractSyntaxTree- Parameters:
consumer- a consumer for the tokens
-
equals
-
hashCode
public int hashCode()
-