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, BeanDefinition containingBeanDefinition)
public final XmlReaderContext getReaderContext()
public final BeanDefinitionRegistry getRegistry()
public final BeanDefinitionParserDelegate getDelegate()
public final BeanDefinition getContainingBeanDefinition()
public final boolean isNested()
public boolean isDefaultLazyInit()
public CompositeComponentDefinition getContainingComponent()
public void pushContainingComponent(CompositeComponentDefinition containingComponent)
public CompositeComponentDefinition popContainingComponent()
public void popAndRegisterContainingComponent()
public void registerComponent(ComponentDefinition component)
public void registerBeanComponent(BeanComponentDefinition component)