public String toString() {if (getChildren() == null || getChildren().size() == 0)return "<tokenizedphrase/>";StringBuilder sb = new StringBuilder();sb.append("<tokenizedtphrase>");for (QueryNode child : getChildren()) {sb.append("\n");sb.append(child.toString());}sb.append("\n</tokenizedphrase>");return sb.toString();}
public override string ToString(){var children = GetChildren();if (children == null || children.Count == 0)return "<tokenizedphrase/>";StringBuilder sb = new StringBuilder();sb.Append("<tokenizedtphrase>");foreach (IQueryNode child in children){sb.Append("\n");sb.Append(child.ToString());}sb.Append("\n</tokenizedphrase>");return sb.ToString();}