C# 클래스 Spring.Data.Config.DatabaseNamespaceParser

상속: Spring.Objects.Factory.Xml.AbstractSingleObjectDefinitionParser
파일 보기 프로젝트 열기: spring-projects/spring-net

공개 메소드들

메소드 설명
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