org.springframework.beans.factory.xml

## 类 ParserContext

- java.lang.Object
- - org.springframework.beans.factory.xml.ParserContext

-     public final class ParserContext
      extends Object

  Context that gets passed along a bean definition parsing process, encapsulating all relevant configuration as well as state. Nested inside an `XmlReaderContext`.
  从以下版本开始:
    2.0
  作者:
    Rob Harrop, Juergen Hoeller
  另请参阅:
    `XmlReaderContext`, `BeanDefinitionParserDelegate`

- - ### 构造器概要

    构造器
    构造器和说明
    `ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate)`
    `ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate, BeanDefinition containingBeanDefinition)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | `extractSource(Object sourceCandidate)`
    `BeanDefinition` | `getContainingBeanDefinition()`
    `CompositeComponentDefinition` | `getContainingComponent()`
    `BeanDefinitionParserDelegate` | `getDelegate()`
    `XmlReaderContext` | `getReaderContext()`
    `BeanDefinitionRegistry` | `getRegistry()`
    `boolean` | `isDefaultLazyInit()`
    `boolean` | `isNested()`
    `void` | `popAndRegisterContainingComponent()`
    `CompositeComponentDefinition` | `popContainingComponent()`
    `void` | `pushContainingComponent(CompositeComponentDefinition containingComponent)`
    `void` | `registerBeanComponent(BeanComponentDefinition component)`
    `void` | `registerComponent(ComponentDefinition component)`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### ParserContext

          public ParserContext(XmlReaderContext readerContext,
                               BeanDefinitionParserDelegate delegate)

    - #### ParserContext

          public ParserContext(XmlReaderContext readerContext,
                               BeanDefinitionParserDelegate delegate,
                               @Nullable
                               BeanDefinition containingBeanDefinition)

  - ### 方法详细资料

    - #### getReaderContext

          public final XmlReaderContext getReaderContext()

    - #### getRegistry

          public final BeanDefinitionRegistry getRegistry()

    - #### getDelegate

          public final BeanDefinitionParserDelegate getDelegate()

    - #### getContainingBeanDefinition

          @Nullable
          public final BeanDefinition getContainingBeanDefinition()

    - #### isNested

          public final boolean isNested()

    - #### isDefaultLazyInit

          public boolean isDefaultLazyInit()

    - #### extractSource

          @Nullable
          public Object extractSource(Object sourceCandidate)

    - #### getContainingComponent

          @Nullable
          public CompositeComponentDefinition getContainingComponent()

    - #### pushContainingComponent

          public void pushContainingComponent(CompositeComponentDefinition containingComponent)

    - #### popContainingComponent

          public CompositeComponentDefinition popContainingComponent()

    - #### popAndRegisterContainingComponent

          public void popAndRegisterContainingComponent()

    - #### registerComponent

          public void registerComponent(ComponentDefinition component)

    - #### registerBeanComponent

          public void registerBeanComponent(BeanComponentDefinition component)