2013-04-08 43 views

回答

0

許多JAXB(JSR-222)的註釋(即@XmlElement@XmlAttribute@XmlType,等等),可以指定一個名字來覆蓋默認一個從類或屬性名稱的。

@XmlElement(name="currencyType") 
public String getCurrency() { 
    return currency; 
} 
相關問題