code: public static void writeInterestingObject (ObjectInfo info, DataWriter writer)
          throws SAXException
      {
          AttributesImpl attrs = new AttributesImpl();
          attrs.addAttribute("", "tileId", "", "", String.valueOf(info.tileId));
          attrs.addAttribute("", "x", "", "", String.valueOf(info.x));
          attrs.addAttribute("", "y", "", "", String.valueOf(info.y));
  
          if (!StringUtil.isBlank(info.action)) {
              attrs.addAttribute("", "action", "", "", info.action);
          }
          if (info.priority != 0) {
              attrs.addAttribute("", "priority", "", "", String.valueOf(info.priority));
          }
          if (info.sx != 0 || info.sy != 0) {
              attrs.addAttribute("", "sx", "", "", String.valueOf(info.sx));
              attrs.addAttribute("", "sy", "", "", String.valueOf(info.sy));
              attrs.addAttribute("", "sorient", "", "", String.valueOf(info.sorient));
          }
          if (info.zations != 0) {
              attrs.addAttribute("", "zations", "", "", String.valueOf(info.zations));
          }
          writer.emptyElement("", "object", "", attrs);
      }
docs: Writes <code>info</code> out to <code>writer</code>.