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 TypeMethodDescriptionvoid
parseAttribute
(ConfigurationReader reader, int i, ConfigurationBuilderHolder holder) Handle a namespaced attributevoid
parseElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) Recursively parses the current element of an XML stream using an appropriateConfigurationParser
depending on the element's namespace.
-
Method Details
-
parseElement
void parseElement(ConfigurationReader reader, ConfigurationBuilderHolder holder) throws ConfigurationReaderException Recursively parses the current element of an XML stream using an appropriateConfigurationParser
depending on the element's namespace.- Parameters:
reader
- the configuration stream readerholder
- a configuration holder- Throws:
ConfigurationReaderException
-
parseAttribute
void parseAttribute(ConfigurationReader reader, int i, ConfigurationBuilderHolder holder) throws ConfigurationReaderException Handle a namespaced attribute- Parameters:
reader
- the configuration stream readeri
- the index of the attributeholder
- a configuration holder- Throws:
ConfigurationReaderException
-