C# Class NAnt.Core.Tasks.XmlPokeTask

Inheritance: NAnt.Core.Task
显示文件 Open project: skolima/NAnt

Private Properties

Property Type Description
LoadDocument System.Xml.XmlDocument
SaveDocument void
SelectNodes System.Xml.XmlNodeList
UpdateNodes void

Protected Methods

Method Description
ExecuteTask ( ) : void

Executes the XML poke task.

Private Methods

Method Description
LoadDocument ( string fileName, bool preserveWhitespace ) : XmlDocument

Loads an XML document from a file on disk.

SaveDocument ( XmlDocument document, string fileName ) : void

Saves the XML document to a file.

SelectNodes ( string xpath, XmlDocument document, XmlNamespaceManager nsMgr ) : XmlNodeList

Given an XML document and an expression, returns a list of nodes which match the expression criteria.

UpdateNodes ( XmlNodeList nodes, string value ) : void

Given a node list, replaces the XML within those nodes.

Method Details

ExecuteTask() protected method

Executes the XML poke task.
protected ExecuteTask ( ) : void
return void