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(ConfigurationReader reader, int i, ConfigurationBuilderHolder holder) Handle a namespaced attributevoidparseElement(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(ConfigurationReader reader, ConfigurationBuilderHolder holder) throws 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:
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
-