## 类的使用
org.springframework.beans.factory.xml.XmlReaderContext

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

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

    返回XmlReaderContext的org.springframework.beans.factory.xml中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `XmlReaderContext` | XmlBeanDefinitionReader.`createReaderContext(org.springframework.core.io.Resource resource)` Create the `XmlReaderContext` to pass over to the document reader.
    `XmlReaderContext` | BeanDefinitionParserDelegate.`getReaderContext()` Get the `XmlReaderContext` associated with this helper instance.
    `protected XmlReaderContext` | DefaultBeanDefinitionDocumentReader.`getReaderContext()` Return the descriptor for the XML resource that this parser works on.
    `XmlReaderContext` | ParserContext.`getReaderContext()`

    参数类型为XmlReaderContext的org.springframework.beans.factory.xml中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected BeanDefinitionParserDelegate` | DefaultBeanDefinitionDocumentReader.`createDelegate(XmlReaderContext readerContext, Element root, BeanDefinitionParserDelegate parentDelegate)`
    `void` | BeanDefinitionDocumentReader.`registerBeanDefinitions(Document doc, XmlReaderContext readerContext)` Read bean definitions from the given DOM document and register them with the registry in the given reader context.
    `void` | DefaultBeanDefinitionDocumentReader.`registerBeanDefinitions(Document doc, XmlReaderContext readerContext)` This implementation parses bean definitions according to the "spring-beans" XSD (or DTD, historically).

    参数类型为XmlReaderContext的org.springframework.beans.factory.xml中的构造器
    构造器和说明
    `BeanDefinitionParserDelegate(XmlReaderContext readerContext)` Create a new BeanDefinitionParserDelegate associated with the supplied `XmlReaderContext`.
    `ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate)`
    `ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate, BeanDefinition containingBeanDefinition)`