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(TypeRange<PARSED> typeRange, ArgumentKey key, Parser<SENDER, PARSED> parser) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.argument.parser.ParserRegistry
registerParser
-
Constructor Details
-
ParserRegistryImpl
public ParserRegistryImpl()
-
-
Method Details
-
registerParser
public <PARSED> void registerParser(TypeRange<PARSED> typeRange, 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>
-