C# Class Sage.Extensibility.NodeEvaluator

Datei anzeigen Open project: igorfrance/sage Class Usage Examples

Public Methods

Method Description
NodeEvaluator ( SageContext context ) : System
Process ( SageContext context, XmlNode node ) : XmlNode
Process ( XmlNode node ) : XmlNode
RegisterNodeHandler ( System.Xml.XmlNodeType nodeType, string nodeName, string nodeNamespace, NodeHandler handler ) : void

Registers the specified node handler, for the specified nodeType, nodeName and nodeNamespace.

Private Methods

Method Description
DiscoverNodeHandlers ( ) : void
GetNodeHandler ( XmlNode node ) : NodeHandler

Gets the node handler for the specified node.

NodeEvaluator ( ) : System
OnAssembliesUpdated ( object sender, EventArgs arg ) : void
QualifyName ( XmlNode node ) : string
QualifyName ( System.Xml.XmlNodeType type, string name, string ns ) : string

Method Details

NodeEvaluator() public method

public NodeEvaluator ( SageContext context ) : System
context SageContext
return System

Process() public static method

public static Process ( SageContext context, XmlNode node ) : XmlNode
context SageContext
node System.Xml.XmlNode
return System.Xml.XmlNode

Process() public method

public Process ( XmlNode node ) : XmlNode
node System.Xml.XmlNode
return System.Xml.XmlNode

RegisterNodeHandler() public static method

Registers the specified node handler, for the specified nodeType, nodeName and nodeNamespace.
public static RegisterNodeHandler ( System.Xml.XmlNodeType nodeType, string nodeName, string nodeNamespace, NodeHandler handler ) : void
nodeType System.Xml.XmlNodeType The type of the node for which the handler is being registered.
nodeName string The name of the node for which the handler is being registered.
nodeNamespace string The namespace of the node for which the handler is being registered.
handler NodeHandler The method that will will handle the node.
return void