Interface ConfigurationParser
-
- All Known Implementing Classes:
Parser
public interface ConfigurationParserConfigurationParser.- Since:
- 5.2
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<? extends org.infinispan.commons.configuration.ConfigurationBuilderInfo>getConfigurationBuilderInfo()Namespace[]getNamespaces()voidreadElement(XMLExtendedStreamReader reader, ConfigurationBuilderHolder holder)The entry point of a configuration parser which gets passed aXMLExtendedStreamReaderpositioned at a root element associated with the parser itself according to the registered mapping.
-
-
-
Method Detail
-
readElement
void readElement(XMLExtendedStreamReader reader, ConfigurationBuilderHolder holder) throws XMLStreamException
The entry point of a configuration parser which gets passed aXMLExtendedStreamReaderpositioned 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:
XMLStreamException
-
getNamespaces
Namespace[] getNamespaces()
-
getConfigurationBuilderInfo
default Class<? extends org.infinispan.commons.configuration.ConfigurationBuilderInfo> getConfigurationBuilderInfo()
- Returns:
- The
ConfigurationBuilderInfoused to build the root element of the parser.
-
-