Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectDefinitionParser.ParseElement Method

Parse the specified XmlElement and register the resulting ObjectDefinitions with the Registry IObjectDefinitionRegistry embedded in the supplied ParserContext

[Visual Basic]
Public Sub ParseElement( _
   ByVal element As XmlElement, _
   ByVal parserContext As ParserContext _
IObjectDefinition ParseElement(
   XmlElement element,
   ParserContext parserContext


The element to be parsed.
TThe object encapsulating the current state of the parsing process. Provides access to a IObjectDefinitionRegistry

Return Value

The primary object definition.


This method is never invoked if the parser is namespace aware and was called to process the root node.

See Also

IObjectDefinitionParser Interface | Spring.Objects.Factory.Xml Namespace