接口的使用
org.springframework.oxm.Unmarshaller
使用Unmarshaller的程序包 程序包 说明 org.springframework.http.converter.xml Provides HttpMessageConverter implementations for handling XML.org.springframework.jms.support.converter Provides a MessageConverter abstraction to convert between Java objects and JMS messages.org.springframework.messaging.converter Provides support for message conversion.org.springframework.oxm Root package for Spring's O/X Mapping integration classes.org.springframework.oxm.jaxb Package providing integration of JAXB with Spring's O/X Mapping support.org.springframework.oxm.jibx Package providing integration of JiBX with Spring's O/X Mapping support.org.springframework.oxm.mime Contains (un)marshallers optimized to store binary data in MIME attachments.org.springframework.oxm.support Provides generic support classes for using Spring's O/X Mapping integration within various scenario's.org.springframework.oxm.xstream Package providing integration of XStream with Spring's O/X Mapping support.org.springframework.http.converter.xml中Unmarshaller的使用
参数类型为Unmarshaller的org.springframework.http.converter.xml中的方法 修饰符和类型 方法 说明 void
MarshallingHttpMessageConverter. setUnmarshaller(Unmarshaller unmarshaller)
Set theUnmarshaller
to be used by this message converter.参数类型为Unmarshaller的org.springframework.http.converter.xml中的构造器 构造器 说明 MarshallingHttpMessageConverter(Marshaller marshaller, Unmarshaller unmarshaller)
Construct a newMarshallingMessageConverter
with the givenMarshaller
andUnmarshaller
.org.springframework.jms.support.converter中Unmarshaller的使用
参数类型为Unmarshaller的org.springframework.jms.support.converter中的方法 修饰符和类型 方法 说明 void
MarshallingMessageConverter. setUnmarshaller(Unmarshaller unmarshaller)
Set theUnmarshaller
to be used by this message converter.protected Object
MarshallingMessageConverter. unmarshalFromBytesMessage(BytesMessage message, Unmarshaller unmarshaller)
Unmarshal the givenBytesMessage
into an object.protected Object
MarshallingMessageConverter. unmarshalFromMessage(Message message, Unmarshaller unmarshaller)
Template method that allows for custom message unmarshalling.protected Object
MarshallingMessageConverter. unmarshalFromTextMessage(TextMessage message, Unmarshaller unmarshaller)
Unmarshal the givenTextMessage
into an object.参数类型为Unmarshaller的org.springframework.jms.support.converter中的构造器 构造器 说明 MarshallingMessageConverter(Marshaller marshaller, Unmarshaller unmarshaller)
Construct a newMarshallingMessageConverter
with the given Marshaller and Unmarshaller.org.springframework.messaging.converter中Unmarshaller的使用
返回Unmarshaller的org.springframework.messaging.converter中的方法 修饰符和类型 方法 说明 Unmarshaller
MarshallingMessageConverter. getUnmarshaller()
Return the configured unmarshaller.参数类型为Unmarshaller的org.springframework.messaging.converter中的方法 修饰符和类型 方法 说明 void
MarshallingMessageConverter. setUnmarshaller(Unmarshaller unmarshaller)
Set theUnmarshaller
to be used by this message converter.org.springframework.oxm中Unmarshaller的使用
org.springframework.oxm中Unmarshaller的子接口 修饰符和类型 接口 说明 interface
GenericUnmarshaller
Subinterface ofUnmarshaller
that has support for Java 5 generics.org.springframework.oxm.jaxb中Unmarshaller的使用
实现Unmarshaller的org.springframework.oxm.jaxb中的类 修饰符和类型 类 说明 class
Jaxb2Marshaller
Implementation of theGenericMarshaller
interface for JAXB 2.2.org.springframework.oxm.jibx中Unmarshaller的使用
实现Unmarshaller的org.springframework.oxm.jibx中的类 修饰符和类型 类 说明 class
JibxMarshaller
已过时。as of Spring Framework 5.1.5, due to the lack of activity on the JiBX projectorg.springframework.oxm.mime中Unmarshaller的使用
org.springframework.oxm.mime中Unmarshaller的子接口 修饰符和类型 接口 说明 interface
MimeUnmarshaller
Subinterface ofUnmarshaller
that can use MIME attachments to optimize storage of binary data.org.springframework.oxm.support中Unmarshaller的使用
实现Unmarshaller的org.springframework.oxm.support中的类 修饰符和类型 类 说明 class
AbstractMarshaller
Abstract implementation of theMarshaller
andUnmarshaller
interface.org.springframework.oxm.xstream中Unmarshaller的使用
实现Unmarshaller的org.springframework.oxm.xstream中的类 修饰符和类型 类 说明 class
XStreamMarshaller
Implementation of theMarshaller
interface for XStream.