JAXBElement使用简单的Android框架创建字符串
我在安卓网络服务方面遇到了大麻烦 我正在将JAXB注释转换为简单注释。请看下面 以下是我的JAXB注释:JAXBElement使用简单的Android框架创建字符串,android,Android,我在安卓网络服务方面遇到了大麻烦 我正在将JAXB注释转换为简单注释。请看下面 以下是我的JAXB注释: @XmlElementRef(name = "Title", namespace = "http://xxx.org/2004/07/Course", type = JAXBElement.class, required = false) protected JAXBElement<String> title; getTitle返回null。我怎样才能得到这个值 我不能在And
@XmlElementRef(name = "Title", namespace = "http://xxx.org/2004/07/Course", type = JAXBElement.class, required = false)
protected JAXBElement<String> title;
getTitle返回null。我怎样才能得到这个值
我不能在Android上使用JAXB。那么,我如何正确地使用Simple Framework来获取值呢
我在这方面急需帮助。非常感谢你
@Element(name = "Title", required = false)
protected String title;