Interface NamespaceMappingParser
- All Known Implementing Classes:
ParserRegistry
public interface NamespaceMappingParser
NamespaceMappingParser. This interface defines methods exposed by a namespace-mapping-aware
parser (such as
ParserRegistry)- Since:
- 6.0
- Author:
- Tristan Tarrant
-
Method Summary
Modifier and TypeMethodDescriptionvoidparseAttribute(org.infinispan.commons.configuration.io.ConfigurationReader reader, int i, ConfigurationBuilderHolder holder) Handle a namespaced attributevoidparseElement(org.infinispan.commons.configuration.io.ConfigurationReader reader, ConfigurationBuilderHolder holder) Recursively parses the current element of an XML stream using an appropriateConfigurationParserdepending on the element's namespace.
-
Method Details
-
parseElement
void parseElement(org.infinispan.commons.configuration.io.ConfigurationReader reader, ConfigurationBuilderHolder holder) throws org.infinispan.commons.configuration.io.ConfigurationReaderException Recursively parses the current element of an XML stream using an appropriateConfigurationParserdepending on the element's namespace.- Parameters:
reader- the configuration stream readerholder- a configuration holder- Throws:
org.infinispan.commons.configuration.io.ConfigurationReaderException
-
parseAttribute
void parseAttribute(org.infinispan.commons.configuration.io.ConfigurationReader reader, int i, ConfigurationBuilderHolder holder) throws org.infinispan.commons.configuration.io.ConfigurationReaderException Handle a namespaced attribute- Parameters:
reader- the configuration stream readeri- the index of the attributeholder- a configuration holder- Throws:
org.infinispan.commons.configuration.io.ConfigurationReaderException
-