C# Class Hyena.Query.QueryListNode

Inheritance: QueryNode
Show file Open project: codebutler/meshwork Class Usage Examples

Public Methods

Method Description
AddChild ( QueryNode child ) : void
AppendSql ( StringBuilder sb, QueryFieldSet fieldSet ) : void
AppendUserQuery ( StringBuilder sb ) : void
AppendXml ( XmlDocument doc, XmlNode parent, QueryFieldSet fieldSet ) : void
GetLeftSibling ( QueryNode node ) : QueryNode
GetRightSibling ( QueryNode node ) : QueryNode
IndexOfChild ( QueryNode child ) : int
InsertChild ( int index, QueryNode child ) : void
QueryListNode ( Keyword keyword ) : System
QueryListNode ( Keyword keyword, QueryListNode parent ) : System
RemoveChild ( QueryNode child ) : void
ReplaceChild ( QueryNode old_child, QueryNode new_child ) : void
TakeChildren ( QueryListNode from ) : void
Trim ( ) : QueryNode

Private Methods

Method Description
Dump ( int depth ) : void

Method Details

AddChild() public method

public AddChild ( QueryNode child ) : void
child QueryNode
return void

AppendSql() public method

public AppendSql ( StringBuilder sb, QueryFieldSet fieldSet ) : void
sb StringBuilder
fieldSet QueryFieldSet
return void

AppendUserQuery() public method

public AppendUserQuery ( StringBuilder sb ) : void
sb StringBuilder
return void

AppendXml() public method

public AppendXml ( XmlDocument doc, XmlNode parent, QueryFieldSet fieldSet ) : void
doc System.Xml.XmlDocument
parent System.Xml.XmlNode
fieldSet QueryFieldSet
return void

GetLeftSibling() public method

public GetLeftSibling ( QueryNode node ) : QueryNode
node QueryNode
return QueryNode

GetRightSibling() public method

public GetRightSibling ( QueryNode node ) : QueryNode
node QueryNode
return QueryNode

IndexOfChild() public method

public IndexOfChild ( QueryNode child ) : int
child QueryNode
return int

InsertChild() public method

public InsertChild ( int index, QueryNode child ) : void
index int
child QueryNode
return void

QueryListNode() public method

public QueryListNode ( Keyword keyword ) : System
keyword Keyword
return System

QueryListNode() public method

public QueryListNode ( Keyword keyword, QueryListNode parent ) : System
keyword Keyword
parent QueryListNode
return System

RemoveChild() public method

public RemoveChild ( QueryNode child ) : void
child QueryNode
return void

ReplaceChild() public method

public ReplaceChild ( QueryNode old_child, QueryNode new_child ) : void
old_child QueryNode
new_child QueryNode
return void

TakeChildren() public method

public TakeChildren ( QueryListNode from ) : void
from QueryListNode
return void

Trim() public method

public Trim ( ) : QueryNode
return QueryNode