Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectsNamespaceParser.ParseInternal Method

Parse the specified element and register any resulting IObjectDefinitions with the IObjectDefinitionRegistry that is embedded in the supplied ParserContext.

[Visual Basic]
Protected Overrides Sub ParseInternal( _
   ByVal element As XmlElement, _
   ByVal parserContext As ParserContext _
)
[C#]
protected override AbstractObjectDefinition ParseInternal(
   XmlElement element,
   ParserContext parserContext
);

Parameters

element
The element to be parsed into one or more IObjectDefinitions
parserContext
The object encapsulating the current state of the parsing process.

Return Value

The primary IObjectDefinition (can be null as explained above)

Remarks

Implementations should return the primary IObjectDefinition that results from the parse phase if they wish to used nested inside (for example) a

<property>
tag.

Implementations may return null if they will not be used in a nested scenario.

See Also

ObjectsNamespaceParser Class | Spring.Objects.Factory.Xml Namespace