标签: java xml deserialization
如何反序列化此xml:
<player> <name>John</name> <link rel="self" href="/state/XYZ2" type="application/xml"/>
到这个java包装器:
public class Player implements Serializable { private String name; // How to deserialize href to string ?
}