Chinaunix

标题: A easy to use java-xml binding framework, Zeus [打印本页]

作者: wangsong2    时间: 2006-03-29 12:40
标题: A easy to use java-xml binding framework, Zeus
the key step:
1: to generate java source files from the dtd or dsd files

   zeus.bat -constraints=
         [-outputDir=]
         [-collapseSimpleElements=]
         [-ignoreIDAttributes=]
         [-javaPackage=]
         [-root=]
2: marshal and unmarshal between java and xml object.
   
     Customer customer =
       CustomerUnmarshaller.unmarshal((new File(args[0])),false);
3: over. (really..)

4: see the Zeus api doc for more detail..

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4241/showart_92292.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2