XML 編組

MarshallingView 使用 XML Marshaller(定義在 org.springframework.oxm 包中)將響應內容渲染為 XML。您可以透過 MarshallingView 例項的 modelKey bean 屬性顯式設定要編組的物件。或者,檢視會迭代所有模型屬性並編組 Marshaller 支援的第一個型別。有關 org.springframework.oxm 包功能的更多資訊,請參閱 使用 O/X 對映器編組 XML

© . This site is unofficial and not affiliated with VMware.