C# Class Spring.Objects.Factory.Xml.WebObjectDefinitionReader

An XmlObjectDefinitionReader capable of handling web object definitions (Pages, Controls)
Inheritance: Spring.Objects.Factory.Xml.XmlObjectDefinitionReader, IWebObjectNameGenerator
Exibir arquivo Open project: spring-projects/spring-net

Public Methods

Method Description
WebObjectDefinitionReader ( string contextVirtualPath, IObjectDefinitionRegistry registry, XmlResolver resolver ) : System.Xml

Creates a new instance of the Spring.Objects.Factory.Xml.XmlObjectDefinitionReader class.

Protected Methods

Method Description
CreateControlDefinitionName ( string virtualPath ) : string

Create an object definition name for the given control path

CreateObjectDefinitionDocumentReader ( ) : IObjectDefinitionDocumentReader

Creates the IObjectDefinitionDocumentReader to use for actually reading object definitions from an XML document.

CreatePageDefinitionName ( string url ) : string

Create an object definition name for the given page path

Private Methods

Method Description
IWebObjectNameGenerator ( string virtualPath ) : string

Method Details

CreateControlDefinitionName() protected method

Create an object definition name for the given control path
protected CreateControlDefinitionName ( string virtualPath ) : string
virtualPath string
return string

CreateObjectDefinitionDocumentReader() protected method

Creates the IObjectDefinitionDocumentReader to use for actually reading object definitions from an XML document.
protected CreateObjectDefinitionDocumentReader ( ) : IObjectDefinitionDocumentReader
return IObjectDefinitionDocumentReader

CreatePageDefinitionName() protected method

Create an object definition name for the given page path
protected CreatePageDefinitionName ( string url ) : string
url string
return string

WebObjectDefinitionReader() public method

Creates a new instance of the Spring.Objects.Factory.Xml.XmlObjectDefinitionReader class.
public WebObjectDefinitionReader ( string contextVirtualPath, IObjectDefinitionRegistry registry, XmlResolver resolver ) : System.Xml
contextVirtualPath string the (rooted) virtual path to resolve relative virtual paths.
registry IObjectDefinitionRegistry /// The /// instance that this reader works on. ///
resolver System.Xml.XmlResolver the to use for resolving entities.
return System.Xml