http://xstream.codehaus.org/tutorial.html

엔터티 클래스의 인스턴스된 객체를
XStream을 통해서 XML 문자열로 만든다.

XStream xstream = new XStream(); // require XPP3 library
// = new XStream ( new DomDriver()); // does not require XPP3 library.
xstream.alias( "person", Person.class );

Person p = new Person("Joe","Walnes");
어쩌구

String xml = xstream.toXML( joe );

란다.

놀랍다.
Posted by stekilove
,