Interface ConfigurationParser
- All Known Implementing Classes:
AbstractJdbcStoreConfigurationParser,CacheParser,ClusteredLockConfigurationParser,CounterConfigurationParser,CounterParser,JdbcStoreConfigurationParser,Parser,RemoteStoreConfigurationParser,RocksDBStoreConfigurationParser,SqlStoreConfigurationParser
public interface ConfigurationParser
ConfigurationParser.
- Since:
- 5.2
- Author:
- Tristan Tarrant
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidreadAttribute(ConfigurationReader reader, String elementName, int attributeIndex, ConfigurationBuilderHolder holder) voidreadElement(ConfigurationReader reader, ConfigurationBuilderHolder holder) The entry point of a configuration parser which gets passed aConfigurationReaderpositioned at a root element associated with the parser itself according to the registered mapping.
-
Method Details
-
readElement
The entry point of a configuration parser which gets passed aConfigurationReaderpositioned at a root element associated with the parser itself according to the registered mapping.- Parameters:
reader- the configuration stream readerholder- a holder object used by the parser to maintain state
-
getNamespaces
Namespace[] getNamespaces() -
readAttribute
default void readAttribute(ConfigurationReader reader, String elementName, int attributeIndex, ConfigurationBuilderHolder holder)
-