Exemplo n.º 1
0
 public String toString() {
   String result = "<address uri=\"" + uri + "\" ";
   if (priority != -1) result += "priority=\"" + priority + "\"";
   result += " >\n";
   if (statusTag != null) result += statusTag.toString();
   if (msnSubStatusTag != null) result += msnSubStatusTag.toString();
   result += "</address>\n";
   return result;
 }
Exemplo n.º 2
0
 public String toString() {
   String result = "<tuple ";
   result += " id=\"" + id + "\" >\n";
   if (statusTag != null) result += statusTag.toString();
   if (contactTag != null) result += contactTag.toString();
   if (noteTag != null) result += noteTag.toString();
   result += "</tuple>\n";
   return result;
 }