public final class ParserContext
extends java.lang.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 |
---|---|
java.lang.Object |
extractSource(java.lang.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 final XmlReaderContext getReaderContext()
public final BeanDefinitionRegistry getRegistry()
public final BeanDefinitionParserDelegate getDelegate()
@Nullable public final BeanDefinition getContainingBeanDefinition()
public final boolean isNested()
public boolean isDefaultLazyInit()
@Nullable public java.lang.Object extractSource(java.lang.Object sourceCandidate)
@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)