C# Class Castle.Windsor.Configuration.Interpreters.XmlProcessor.DefaultXmlProcessorEngine

Inheritance: IXmlProcessorEngine
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
AddFlag ( string flag ) : void
AddNodeProcessor ( Type type ) : void
AddProperty ( XmlElement content ) : void
DefaultXmlProcessorEngine ( string environmentName ) : System

Initializes a new instance of the DefaultXmlProcessorEngine class.

DefaultXmlProcessorEngine ( string environmentName, IResourceSubSystem resourceSubSystem ) : System

Initializes a new instance of the DefaultXmlProcessorEngine class.

DispatchProcessAll ( IXmlProcessorNodeList nodeList ) : void

Processes the element.

DispatchProcessCurrent ( IXmlProcessorNodeList nodeList ) : void

Processes the element.

GetProperty ( string key ) : XmlElement
GetResource ( String uri ) : IResource
HasFlag ( string flag ) : bool
HasProperty ( String name ) : bool
HasSpecialProcessor ( XmlNode node ) : bool
PopResource ( ) : void
PushResource ( IResource resource ) : void
RemoveFlag ( string flag ) : void

Private Methods

Method Description
AddEnvNameAsFlag ( string environmentName ) : void
GetCanonicalFlagName ( string flag ) : string
GetProcessor ( XmlNode node ) : IXmlNodeProcessor
RegisterProcessor ( System.Xml.XmlNodeType type, IXmlNodeProcessor processor ) : void

Method Details

AddFlag() public method

public AddFlag ( string flag ) : void
flag string
return void

AddNodeProcessor() public method

public AddNodeProcessor ( Type type ) : void
type System.Type
return void

AddProperty() public method

public AddProperty ( XmlElement content ) : void
content System.Xml.XmlElement
return void

DefaultXmlProcessorEngine() public method

Initializes a new instance of the DefaultXmlProcessorEngine class.
public DefaultXmlProcessorEngine ( string environmentName ) : System
environmentName string Name of the environment.
return System

DefaultXmlProcessorEngine() public method

Initializes a new instance of the DefaultXmlProcessorEngine class.
public DefaultXmlProcessorEngine ( string environmentName, IResourceSubSystem resourceSubSystem ) : System
environmentName string Name of the environment.
resourceSubSystem IResourceSubSystem The resource sub system.
return System

DispatchProcessAll() public method

Processes the element.
public DispatchProcessAll ( IXmlProcessorNodeList nodeList ) : void
nodeList IXmlProcessorNodeList The element.
return void

DispatchProcessCurrent() public method

Processes the element.
public DispatchProcessCurrent ( IXmlProcessorNodeList nodeList ) : void
nodeList IXmlProcessorNodeList The element.
return void

GetProperty() public method

public GetProperty ( string key ) : XmlElement
key string
return System.Xml.XmlElement

GetResource() public method

public GetResource ( String uri ) : IResource
uri String
return IResource

HasFlag() public method

public HasFlag ( string flag ) : bool
flag string
return bool

HasProperty() public method

public HasProperty ( String name ) : bool
name String
return bool

HasSpecialProcessor() public method

public HasSpecialProcessor ( XmlNode node ) : bool
node System.Xml.XmlNode
return bool

PopResource() public method

public PopResource ( ) : void
return void

PushResource() public method

public PushResource ( IResource resource ) : void
resource IResource
return void

RemoveFlag() public method

public RemoveFlag ( string flag ) : void
flag string
return void