PrintQuery() public method

public PrintQuery ( XmlWriter w ) : void
w System.Xml.XmlWriter
return void
Example #1
0
 public override void PrintQuery(XmlWriter w)
 {
     w.WriteStartElement(this.GetType().Name);
     input.PrintQuery(w);
     _child.PrintQuery(w);
     w.WriteEndElement();
 }
Example #2
0
 public override void PrintQuery(XmlWriter w)
 {
     w.WriteStartElement(this.GetType().Name);
     qyInput.PrintQuery(w);
     w.WriteElementString("XPathSortComparer", "... PrintTree() not implemented ...");
     w.WriteEndElement();
 }
Example #3
0
 public override void PrintQuery(XmlWriter w)
 {
     w.WriteStartElement(this.GetType().Name);
     w.WriteAttributeString("op", _op.ToString());
     _opnd1.PrintQuery(w);
     _opnd2.PrintQuery(w);
     w.WriteEndElement();
 }
Example #4
0
 public override void PrintQuery(XmlWriter w)
 {
     w.WriteStartElement(this.GetType().Name);
     w.WriteAttributeString("op", (isOr ? Operator.Op.OR : Operator.Op.AND).ToString());
     opnd1.PrintQuery(w);
     opnd2.PrintQuery(w);
     w.WriteEndElement();
 }
Example #5
0
 public override void PrintQuery(XmlWriter w)
 {
     w.WriteStartElement(this.GetType().Name);
     w.WriteAttributeString("name", _funcType.ToString());
     if (_arg != null)
     {
         _arg.PrintQuery(w);
     }
     w.WriteEndElement();
 }
Example #6
0
 public override void PrintQuery(XmlWriter w)
 {
     w.WriteStartElement(this.GetType().Name);
     if (!_noPosition
         )
     {
         w.WriteAttributeString("position", "yes");
     }
     qyInput.PrintQuery(w);
     _cond.PrintQuery(w);
     w.WriteEndElement();
 }
 public override void PrintQuery(XmlWriter w)
 {
     w.WriteStartElement(this.GetType().Name);
     if (qy1 != null)
     {
         qy1.PrintQuery(w);
     }
     if (qy2 != null)
     {
         qy2.PrintQuery(w);
     }
     w.WriteEndElement();
 }
Example #8
0
 public override void PrintQuery(XmlWriter w)
 {
     w.WriteStartElement(this.GetType().Name);
     if (NameTest)
     {
         w.WriteAttributeString("name", Prefix.Length != 0 ? Prefix + ":" + Name : Name);
     }
     if (TypeTest != XPathNodeType.Element)
     {
         w.WriteAttributeString("nodeType", TypeTest.ToString());
     }
     qyInput.PrintQuery(w);
     w.WriteEndElement();
 }