public final class ParserContext extends Object
XmlReaderContext
.XmlReaderContext
,
BeanDefinitionParserDelegate
Constructor and Description |
---|
ParserContext(XmlReaderContext readerContext,
BeanDefinitionParserDelegate delegate) |
ParserContext(XmlReaderContext readerContext,
BeanDefinitionParserDelegate delegate,
BeanDefinition containingBeanDefinition) |
Modifier and Type | Method and Description |
---|---|
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) |
public ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate)
public ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate, @Nullable BeanDefinition containingBeanDefinition)
public XmlReaderContext getReaderContext()
public BeanDefinitionRegistry getRegistry()
public BeanDefinitionParserDelegate getDelegate()
@Nullable public BeanDefinition getContainingBeanDefinition()
public boolean isNested()
public boolean isDefaultLazyInit()
@Nullable public CompositeComponentDefinition getContainingComponent()
public void pushContainingComponent(CompositeComponentDefinition containingComponent)
public CompositeComponentDefinition popContainingComponent()
public void popAndRegisterContainingComponent()
public void registerComponent(ComponentDefinition component)
public void registerBeanComponent(BeanComponentDefinition component)