Interface ConfigurationParser
-
- All Known Implementing Classes:
ClusteredLockConfigurationParser
,CounterConfigurationParser
,JdbcStoreConfigurationParser
,JpaStoreConfigurationParser
,Parser
,RemoteStoreConfigurationParser
,RestStoreConfigurationParser
,RocksDBStoreConfigurationParser
,SoftIndexFileStoreConfigurationParser
public interface ConfigurationParser
ConfigurationParser.- Since:
- 5.2
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.Class<? extends ConfigurationBuilderInfo>
getConfigurationBuilderInfo()
Namespace[]
getNamespaces()
void
readElement(XMLExtendedStreamReader reader, ConfigurationBuilderHolder holder)
The entry point of a configuration parser which gets passed aXMLExtendedStreamReader
positioned at a root element associated with the parser itself according to the registered mapping.
-
-
-
Method Detail
-
readElement
void readElement(XMLExtendedStreamReader reader, ConfigurationBuilderHolder holder) throws javax.xml.stream.XMLStreamException
The entry point of a configuration parser which gets passed aXMLExtendedStreamReader
positioned at a root element associated with the parser itself according to the registered mapping.- Parameters:
reader
- the XML stream readerholder
- a holder object used by the parser to maintain state- Throws:
javax.xml.stream.XMLStreamException
-
getNamespaces
Namespace[] getNamespaces()
-
getConfigurationBuilderInfo
default java.lang.Class<? extends ConfigurationBuilderInfo> getConfigurationBuilderInfo()
- Returns:
- The
ConfigurationBuilderInfo
used to build the root element of the parser.
-
-