C# Class NppXmlTreeviewPlugin.Parsers.NppXmlNode

Represents a Notepadd++ Xml Node.
显示文件 Open project: joaoasrosa/nppxmltreeview Class Usage Examples

Public Methods

Method Description
FindNppXmlNodeByLine ( int lineNumber, int positionInLine ) : NppXmlNode

Returns the first NppXmlNode for the line number.

TryParse ( string xml, NppXmlNode &nppXmlNode ) : bool

Method to try parse the XML.

Private Methods

Method Description
NppXmlNode ( string name, NppXmlNodePosition startPosition ) : System

The default constructor for the class.

NppXmlNode ( string name, NppXmlNodePosition startPosition, NppXmlNode parent ) : System

The default constructor for the class.

ReadChildOrSibling ( XmlTextReader xmlTextReader, int currentDepth, NppXmlNode node ) : void

Method to read a child or a sibling of the node.

Method Details

FindNppXmlNodeByLine() public method

Returns the first NppXmlNode for the line number.
public FindNppXmlNodeByLine ( int lineNumber, int positionInLine ) : NppXmlNode
lineNumber int The line number.
positionInLine int The position in line.
return NppXmlNode

TryParse() public static method

Method to try parse the XML.
public static TryParse ( string xml, NppXmlNode &nppXmlNode ) : bool
xml string The XMl as string.
nppXmlNode NppXmlNode The Notepad++ XmlNode.
return bool