01 package com.flat502.rox.demo;
02
03 import java.util.Date;
04
05 /**
06 * An example of a simple "struct" class used by some of the demo's.
07 * <P>
08 * This class is used to illustrate RoX's ability to marshal POJOs
09 * directly.
10 */
11 public class TimeInfo {
12 public Date today = new Date();
13 public String info = "Brought to you by " + this.getClass().getName();
14
15 public String toString() {
16 return "TimeInfo[today=" + today + ", info=" + info + "]";
17 }
18 }
|