org.springframework.beans.factory.xml
Class 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
.
- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller
- See Also:
XmlReaderContext
,
BeanDefinitionParserDelegate
Methods inherited from class 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,
BeanDefinition containingBeanDefinition)
getReaderContext
public XmlReaderContext getReaderContext()
getRegistry
public BeanDefinitionRegistry getRegistry()
getDelegate
public BeanDefinitionParserDelegate getDelegate()
getContainingBeanDefinition
public BeanDefinition getContainingBeanDefinition()
isNested
public boolean isNested()
extractSource
public Object extractSource(Object sourceCandidate)
getContainingComponent
public CompositeComponentDefinition getContainingComponent()
pushContainingComponent
public void pushContainingComponent(CompositeComponentDefinition containingComponent)
popContainingComponent
public CompositeComponentDefinition popContainingComponent()
popAndRegisterContainingComponent
public void popAndRegisterContainingComponent()
registerComponent
public void registerComponent(ComponentDefinition component)
Copyright © 2002-2007 The Spring Framework.