C# Класс Spring.Data.Config.DatabaseNamespaceParser

Наследование: Spring.Objects.Factory.Xml.AbstractSingleObjectDefinitionParser
Показать файл Открыть проект

Открытые методы

Метод Описание
ParseElement ( XmlElement element, ParserContext parserContext ) : IObjectDefinition

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

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.

Приватные методы

Метод Описание
DatabaseNamespaceParser ( ) : System.Xml
GetTypeName ( XmlElement element ) : string

Gets the name of the object type for the specified element.

ParseDbProviderConfigurer ( XmlElement element, string name, ParserContext parserContext ) : IConfigurableObjectDefinition
ParseDbProviderDefinition ( XmlElement element, string name, ParserContext parserContext ) : IConfigurableObjectDefinition

Parses database provider definitions.

ParseDbProviderFactoryObject ( XmlElement element, string name, ParserContext parserContext ) : IConfigurableObjectDefinition

Описание методов

ParseElement() публичный Метод

Parse the specified element and register any resulting IObjectDefinitions with the IObjectDefinitionRegistry that is embedded in the supplied ParserContext.
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.

public ParseElement ( XmlElement element, ParserContext parserContext ) : IObjectDefinition
element System.Xml.XmlElement The element to be parsed into one or more IObjectDefinitions
parserContext Spring.Objects.Factory.Xml.ParserContext The object encapsulating the current state of the parsing /// process.
Результат IObjectDefinition