Example #1
0
 public static void object2xmlWithRootElement() {
   Token token = new Token();
   token.setAccessToken("accessToken");
   token.setExpiresIn(12);
   token.setTime(13l);
   String content = XmlStream.toXML(token);
   System.err.println(content);
 }