C# Class FatAntelope.XNode

Represents a single XNode within the XTree. Maps to a single XML element, attribute or text node within the underlying XML document.
Mostra file Open project: CameronWills/FatAntelope Class Usage Examples

Public Methods

Method Description
Build ( XmlNode node, XNode parent ) : XNode
GetDescendantCount ( ) : int
HashEquals ( byte hash2 ) : bool
IsAttribute ( ) : bool
IsElement ( ) : bool
IsText ( ) : bool
XNode ( XmlNode node, XNode parent ) : System.Collections.Generic

Constructor.

Private Methods

Method Description
ConcatAll ( List arrays, int length ) : byte[]

Method Details

Build() public static method

public static Build ( XmlNode node, XNode parent ) : XNode
node System.Xml.XmlNode
parent XNode
return XNode

GetDescendantCount() public method

public GetDescendantCount ( ) : int
return int

HashEquals() public method

public HashEquals ( byte hash2 ) : bool
hash2 byte
return bool

IsAttribute() public method

public IsAttribute ( ) : bool
return bool

IsElement() public method

public IsElement ( ) : bool
return bool

IsText() public method

public IsText ( ) : bool
return bool

XNode() public method

Constructor.
public XNode ( XmlNode node, XNode parent ) : System.Collections.Generic
node System.Xml.XmlNode The respective System.Xml.XmlNode instance that this XNode maps to from the original XmlDocument.
parent XNode The parent XNode of this node in the XML Hierarchy
return System.Collections.Generic