Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionParserHelper.ParseObjectDefinitionElement(XmlElement) Method

Parse a standard object definition into a ObjectDefinitionHolder, including object name and aliases.

[Visual Basic]
Public Overloads Sub ParseObjectDefinitionElement( _
   ByVal element As XmlElement _
public ObjectDefinitionHolder ParseObjectDefinitionElement(
   XmlElement element


The element containing the object definition.

Return Value

The parsed object definition wrapped within an ObjectDefinitionHolder instance.


Object elements specify their canonical name via the "id" attribute and their aliases as a delimited "name" attribute.

If no "id" is specified, uses the first name in the "name" attribute as the canonical name, registering all others as aliases.

See Also

ObjectDefinitionParserHelper Class | Spring.Objects.Factory.Xml Namespace | ObjectDefinitionParserHelper.ParseObjectDefinitionElement Overload List