import MessagePack for Java implementation plan 3

This commit is contained in:
frsyuki
2009-11-26 11:22:08 +09:00
parent e39e1d4f60
commit eb9e892491
39 changed files with 4175 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ public class Generate {
Schema s1 = Schema.parse("(class Test (field uri raw) (field width int))");
ClassGenerator.write(s1, output);
Schema s1 = Schema.parse("(class MediaContent (package serializers.msgpack) (field image (array (class Image (field uri string) (field title string) (field width int) (field height int) (field size int)))) (field media (class Media (field uri string) (field title string) (field width int) (field height int) (field format string) (field duration long) (field size long) (field bitrate int) (field person (array string)) (field player int) (field copyright string))))");
Schema s2 = Schema.parse("(class MediaContent (package serializers.msgpack) (field image (array (class Image (field uri string) (field title string) (field width int) (field height int) (field size int)))) (field media (class Media (field uri string) (field title string) (field width int) (field height int) (field format string) (field duration long) (field size long) (field bitrate int) (field person (array string)) (field player int) (field copyright string))))");
ClassGenerator.write(s2, output);
}
}