C# Class Spring.Context.Config.AttributeConfigObjectDefinitionParser

Object Defintion Parser for interpreting ConfigurationAttribute classes when primary configuration is peformed via XML.
Inheritance: IObjectDefinitionParser
Show file Open project: spring-projects/spring-net

Public Methods

Method Description
ParseElement ( XmlElement element, ParserContext parserContext ) : IObjectDefinition

Parse the specified XmlElement and register the resulting ObjectDefinitions with the P:Spring.Objects.Factory.Xml.ParserContext.Registry IObjectDefinitionRegistry embedded in the supplied T:Spring.Objects.Factory.Xml.ParserContext

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

Method Details

ParseElement() public method

Parse the specified XmlElement and register the resulting ObjectDefinitions with the P:Spring.Objects.Factory.Xml.ParserContext.Registry IObjectDefinitionRegistry embedded in the supplied T:Spring.Objects.Factory.Xml.ParserContext

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

public ParseElement ( XmlElement element, ParserContext parserContext ) : IObjectDefinition
element System.Xml.XmlElement The element to be parsed.
parserContext Spring.Objects.Factory.Xml.ParserContext The object encapsulating the current state of the parsing process. /// Provides access to a IObjectDefinitionRegistry
return IObjectDefinition