## 接口的使用
org.springframework.beans.factory.xml.BeanDefinitionParser

- 使用BeanDefinitionParser的程序包
  程序包 | 说明
  --- | ---
  org.springframework.beans.factory.xml | Contains an abstract XML-based `BeanFactory` implementation, including a standard "spring-beans" XSD.

- - ### org.springframework.beans.factory.xml中BeanDefinitionParser的使用

    实现BeanDefinitionParser的org.springframework.beans.factory.xml中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `AbstractBeanDefinitionParser` Abstract `BeanDefinitionParser` implementation providing a number of convenience methods and a `template method` that subclasses must override to provide the actual parsing logic.
    `class` | `AbstractSimpleBeanDefinitionParser` Convenient base class for when there exists a one-to-one mapping between attribute names on the element that is to be parsed and the property names on the `Class` being configured.
    `class` | `AbstractSingleBeanDefinitionParser` Base class for those `BeanDefinitionParser` implementations that need to parse and define just a single `BeanDefinition`.

    参数类型为BeanDefinitionParser的org.springframework.beans.factory.xml中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected void` | NamespaceHandlerSupport.`registerBeanDefinitionParser(String elementName, BeanDefinitionParser parser)` Subclasses can call this to register the supplied `BeanDefinitionParser` to handle the specified element.