public String toHELM2() {
    String output = "";
    /* first section: simple polymer section */
    output += polymerToHELM2() + "$";

    /* second section: connection section */
    output += connectionToHELM2() + "$";

    /* third section: grouping section */
    output += groupingToHELM2() + "$";

    /* fourth section: annotation section */
    output += annotationToHELM2() + "$";

    /* add version number */
    output += "V2.0";

    return output;
  }
public String toHELM2() {
    String output = "";
    
    output += polymerToHELM2() + "$";

    
    output += connectionToHELM2() + "$";

    
    output += groupingToHELM2() + "$";

    
    output += annotationToHELM2() + "$";

    
    output += "V2.0";

    return output;
  }
public String toHELM2 ( ) { String output = "" ; /* first section: simple polymer section */ output += polymerToHELM2 ( ) + "$" ; /* second section: connection section */ output += connectionToHELM2 ( ) + "$" ; /* third section: grouping section */ output += groupingToHELM2 ( ) + "$" ; /* fourth section: annotation section */ output += annotationToHELM2 ( ) + "$" ; /* add version number */ output += "V2.0" ; return output ; }
method to generate for all sections a HELM2 string

@return HELM2
method to generate for all sections a HELM2 string