Interface SocialInjectionParser<V extends SocialInjectedValue<?,V>>
- All Known Implementing Classes:
SocialInjectionConditionalParser,SocialInjectionEmptyParser,SocialInjectionLiteralParser,SocialInjectionPlaceholder,SocialInjectionTagParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Experimental
@FunctionalInterface
public interface SocialInjectionParser<V extends SocialInjectedValue<?,V>>
Represents a class capable of parsing a specific type of
SocialInjectedValue.-
Method Summary
Modifier and TypeMethodDescriptionparse(@NotNull SocialParserContext context, V value) Parses aSocialParserContextfor the givenSocialInjectionParserand returns the result.
-
Method Details
-
parse
Parses aSocialParserContextfor the givenSocialInjectionParserand returns the result.- Parameters:
context- theSocialParserContextto parsevalue- theSocialInjectionParserto apply- Returns:
- a
Componentwith the injected value applied
-