C# Class Castle.Windsor.Configuration.Interpreters.XmlProcessor.ElementProcessors.IncludeElementProcessor

Inheritance: AbstractXmlNodeProcessor
ファイルを表示 Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Accept ( XmlNode node ) : bool

Accepts the specified node. Check if node has the same name as the processor and the node.NodeType is in the AcceptNodeTypes List NOTE: since the BatchRegistrationFacility already uses an include element we will distringish between both by looking for the presence of an uri attribute we should revisit this later by using xml-namespaces

IncludeElementProcessor ( ) : System
Process ( IXmlProcessorNodeList nodeList, IXmlProcessorEngine engine ) : void
ProcessInclude ( XmlElement element, String includeUri, IXmlProcessorEngine engine ) : XmlNode

Method Details

Accept() public method

Accepts the specified node. Check if node has the same name as the processor and the node.NodeType is in the AcceptNodeTypes List NOTE: since the BatchRegistrationFacility already uses an include element we will distringish between both by looking for the presence of an uri attribute we should revisit this later by using xml-namespaces
public Accept ( XmlNode node ) : bool
node System.Xml.XmlNode The node.
return bool

IncludeElementProcessor() public method

public IncludeElementProcessor ( ) : System
return System

Process() public method

public Process ( IXmlProcessorNodeList nodeList, IXmlProcessorEngine engine ) : void
nodeList IXmlProcessorNodeList
engine IXmlProcessorEngine
return void

ProcessInclude() public method

public ProcessInclude ( XmlElement element, String includeUri, IXmlProcessorEngine engine ) : XmlNode
element System.Xml.XmlElement
includeUri String
engine IXmlProcessorEngine
return System.Xml.XmlNode