code: public static String makeFormattedString(
          String aAttrName,
          Object aObj,
          boolean aPrependSeparator) {
          StringBuffer mStrBuff = new StringBuffer(PreFormatString(aAttrName, aPrependSeparator));
          if (aObj == null)
              mStrBuff.append("null");
          else if (aObj instanceof String) {
              mStrBuff.append("\"");
              mStrBuff.append(aObj.toString());
              mStrBuff.append("\"");
          } else {
              mStrBuff.append("[");
              mStrBuff.append(aObj.toString());
              mStrBuff.append("]");
          }
          return mStrBuff.toString();
      }
docs: Utility method that gets formatted string representing the <code>Object</code>.
  <p>
  For String object it returns <code>"string_value"</code>.
  For other objects it returns <code>[obj.toString()]</code>.
  If the object is null then it returns <code>null</code>.
  <p>
  Example: aAttrName="aObj",aAttrName="aObj", etc, where the "," is controlled
  using the aPrependSeparator set to true.
  
  @param aAttrName A String attribute name
  @param aObj An Object value.
  @param aPrependSeparator A boolean value used in
  PreFormatString(String, boolean) to append a ","
  before the aAttrName value.
  
  @return A String - formatted string
  
  @see #PreFormatString(String, boolean)