Package mjg

Examples of mjg.Song2XML


    Song s = new Song();
    s.setId(id);
    s.setArtist(artist);
    s.setTitle(title);
    s.setYear(year);
    Song2XML converter = new Song2XML();
    URI uri = template.postForLocation(url, converter.song2xml(s));
    if (uri != null) {
      log.info("Location: " + uri.toString());
    } else {
      log.info("No Location header found");
    }
View Full Code Here

TOP

Related Classes of mjg.Song2XML

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.