Class ParserRegistryImpl<SENDER>
java.lang.Object
dev.rollczi.litecommands.argument.parser.ParserRegistryImpl<SENDER>
- All Implemented Interfaces:
ParserRegistry<SENDER>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParserSet(Class<PARSED> parserType, ArgumentKey key) <PARSED> voidregisterParser(Class<PARSED> parserType, ArgumentKey key, Parser<SENDER, ?, PARSED> parser)
-
Constructor Details
-
ParserRegistryImpl
public ParserRegistryImpl()
-
-
Method Details
-
registerParser
public <PARSED> void registerParser(Class<PARSED> parserType, ArgumentKey key, Parser<SENDER, ?, PARSED> parser) - Specified by:
registerParserin interfaceParserRegistry<SENDER>
-
getParserSet
@NotNull public <PARSED> @NotNull ParserSet<SENDER,PARSED> getParserSet(Class<PARSED> parserType, ArgumentKey key) - Specified by:
getParserSetin interfaceParserRegistry<SENDER>
-