public class BasePlugin extends Object implements Plugin
Plugin
that can be extended from or used to see which types of subscriptions are possible.
It is not recommended that you override each one of these methods. Note that some methods are more generic
subscriptions that will also be covered by their more specific counterparts. For example, a ClassSelector
will be sent
to classSelector(ClassSelector)
and selectorPart(SelectorPart)
.
See the notes on Plugin
about invocation order for subscription methods.
Constructor and Description |
---|
BasePlugin() |
Modifier and Type | Method and Description |
---|---|
void |
atRule(AtRule rule)
|
void |
attributeSelector(AttributeSelector attributeSelector)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type AttributeSelector . |
void |
classSelector(ClassSelector classSelector)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type ClassSelector . |
void |
conditionalAtRuleBlock(ConditionalAtRuleBlock block)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type ConditionalAtRuleBlock (only enabled with the Conditionals plugin. |
void |
declaration(Declaration declaration)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type Declaration . |
void |
fontFaceDescriptor(FontDescriptor descriptor)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type FontDescriptor . |
void |
functionValue(FunctionValue function)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type FunctionValue . |
void |
genericFunction(GenericFunctionValue function)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type GenericFunctionValue . |
void |
hexColorValue(HexColorValue hexColorValue)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type HexColorValue . |
void |
idSelector(IdSelector idSelector)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type IdSelector . |
void |
keywordValue(KeywordValue keywordValue)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type KeywordValue . |
void |
linearGradientValue(LinearGradientFunctionValue linearGradient)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type LinearGradientFunctionValue . |
void |
mediaQueryList(MediaQueryList list)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type MediaQueryList . |
void |
numericalValue(NumericalValue numericalValue)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type NumericalValue . |
void |
propertyValue(PropertyValue propertyValue)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type PropertyValue . |
void |
pseudoClassSelector(PseudoClassSelector pseudoClassSelector)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type PseudoClassSelector . |
void |
pseudoElementSelector(PseudoElementSelector pseudoElementSelector)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type PseudoElementSelector . |
void |
rawFunction(RawFunction raw)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type RawFunction . |
void |
rule(Rule rule)
|
void |
selector(Selector selector)
|
void |
selectorPart(SelectorPart selectorPart)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type SelectorPart (SimpleSelector s or Combinator s). |
void |
simpleSelector(SimpleSelector simpleSelector)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type SimpleSelector . |
void |
statement(Statement statement)
|
void |
stringValue(StringValue stringValue)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type StringValue . |
void |
stylesheet(Stylesheet stylesheet)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type Stylesheet . |
void |
syntax(Syntax syntax)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for ALL Syntax units. |
void |
term(Term term)
|
void |
typeSelector(TypeSelector typeSelector)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type TypeSelector . |
void |
unicodeRangeValue(UnicodeRangeValue unicodeRangeValue)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type UnicodeRangeValue . |
void |
universalSelector(UniversalSelector universalSelector)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type UniversalSelector . |
void |
unquotedIEFilter(UnquotedIEFilter filter)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type UnquotedIEFilter (only enabled with the UnquotedIEFilterPlugin plugin. |
void |
urlValue(UrlFunctionValue url)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type UrlFunctionValue . |
public void syntax(Syntax syntax)
Rework
, Observe
or Validate
annotation in order to receive events
for ALL Syntax units.syntax
- The Syntax
instance.public void stylesheet(Stylesheet stylesheet)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type Stylesheet
.stylesheet
- The Stylesheet
instance.public void statement(Statement statement)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type Statement
.statement
- The Statement
instance.public void rule(Rule rule)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type Rule
.rule
- The Rule
instance.public void atRule(AtRule rule)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type AtRule
.rule
- The AtRule
instance.public void selector(Selector selector)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type Selector
.selector
- The Selector
instance.public void selectorPart(SelectorPart selectorPart)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type SelectorPart
(SimpleSelector
s or Combinator
s).selectorPart
- The SelectorPart
instance.public void simpleSelector(SimpleSelector simpleSelector)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type SimpleSelector
.simpleSelector
- The SimpleSelector
instance.public void typeSelector(TypeSelector typeSelector)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type TypeSelector
.typeSelector
- The TypeSelector
instance.public void universalSelector(UniversalSelector universalSelector)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type UniversalSelector
.universalSelector
- The UniversalSelector
instance.public void idSelector(IdSelector idSelector)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type IdSelector
.idSelector
- The IdSelector
instance.public void classSelector(ClassSelector classSelector)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type ClassSelector
.classSelector
- The ClassSelector
instance.public void attributeSelector(AttributeSelector attributeSelector)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type AttributeSelector
.attributeSelector
- The AttributeSelector
instance.public void pseudoClassSelector(PseudoClassSelector pseudoClassSelector)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type PseudoClassSelector
.pseudoClassSelector
- The PseudoClassSelector
instance.public void pseudoElementSelector(PseudoElementSelector pseudoElementSelector)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type PseudoElementSelector
.pseudoElementSelector
- The PseudoElementSelector
instance.public void declaration(Declaration declaration)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type Declaration
.declaration
- The Declaration
instance.public void propertyValue(PropertyValue propertyValue)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type PropertyValue
.propertyValue
- The PropertyValue
instance.public void term(Term term)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type Term
.term
- The Term
instance.public void rawFunction(RawFunction raw)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type RawFunction
.raw
- The RawFunction
instance.public void functionValue(FunctionValue function)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type FunctionValue
.function
- The FunctionValue
instance.public void genericFunction(GenericFunctionValue function)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type GenericFunctionValue
.function
- The GenericFunctionValue
instance.public void urlValue(UrlFunctionValue url)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type UrlFunctionValue
.url
- The UrlFunctionValue
instance.public void linearGradientValue(LinearGradientFunctionValue linearGradient)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type LinearGradientFunctionValue
.linearGradient
- The LinearGradientFunctionValue
instance.public void hexColorValue(HexColorValue hexColorValue)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type HexColorValue
.hexColorValue
- The HexColorValue
instance.public void keywordValue(KeywordValue keywordValue)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type KeywordValue
.keywordValue
- The KeywordValue
instance.public void numericalValue(NumericalValue numericalValue)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type NumericalValue
.numericalValue
- The NumericalValue
instance.public void stringValue(StringValue stringValue)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type StringValue
.stringValue
- The StringValue
instance.public void unicodeRangeValue(UnicodeRangeValue unicodeRangeValue)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type UnicodeRangeValue
.unicodeRangeValue
- The UnicodeRangeValue
instance.public void unquotedIEFilter(UnquotedIEFilter filter)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type UnquotedIEFilter
(only enabled with the UnquotedIEFilterPlugin
plugin.filter
- The UnquotedIEFilter
instance.public void conditionalAtRuleBlock(ConditionalAtRuleBlock block)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type ConditionalAtRuleBlock
(only enabled with the Conditionals
plugin.block
- The ConditionalAtRuleBlock
instance.public void mediaQueryList(MediaQueryList list)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type MediaQueryList
.list
- The MediaQueryList
instance.public void fontFaceDescriptor(FontDescriptor descriptor)
Rework
, Observe
or Validate
annotation in order to receive events
for Syntax
units of type FontDescriptor
.descriptor
- The FontDescriptor
instance.Copyright (c) 2019, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE file in the repository.