void generate(XmlWriter w) throws IOException {
  List<XmlWriter.Attribute> attrs=null;
  if (count > 0) {
    attrs=Collections.singletonList(new XmlWriter.Attribute("count",Integer.toString(count)));
  }
  w.simpleElement(GoogleBaseNamespaces.GM,"value",attrs,value);
}

void generate ( XmlWriter w ) throws IOException { List < XmlWriter . Attribute > attrs = null ; if ( count > 0 ) { attrs = Collections . singletonList ( new XmlWriter . Attribute ( "count" , Integer . toString ( count ) ) ) ; } w . simpleElement ( GoogleBaseNamespaces . GM , "value" , attrs , value ) ; }
generates the xml representation for this tag .
