接口的使用
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中的方法 修饰符和类型 方法 说明 voidMarshallingHttpMessageConverter. setUnmarshaller(Unmarshaller unmarshaller)Set theUnmarshallerto be used by this message converter.参数类型为Unmarshaller的org.springframework.http.converter.xml中的构造器 构造器 说明 MarshallingHttpMessageConverter(Marshaller marshaller, Unmarshaller unmarshaller)Construct a newMarshallingMessageConverterwith the givenMarshallerandUnmarshaller.org.springframework.jms.support.converter中Unmarshaller的使用
参数类型为Unmarshaller的org.springframework.jms.support.converter中的方法 修饰符和类型 方法 说明 voidMarshallingMessageConverter. setUnmarshaller(Unmarshaller unmarshaller)Set theUnmarshallerto be used by this message converter.protected ObjectMarshallingMessageConverter. unmarshalFromBytesMessage(BytesMessage message, Unmarshaller unmarshaller)Unmarshal the givenBytesMessageinto an object.protected ObjectMarshallingMessageConverter. unmarshalFromMessage(Message message, Unmarshaller unmarshaller)Template method that allows for custom message unmarshalling.protected ObjectMarshallingMessageConverter. unmarshalFromTextMessage(TextMessage message, Unmarshaller unmarshaller)Unmarshal the givenTextMessageinto an object.参数类型为Unmarshaller的org.springframework.jms.support.converter中的构造器 构造器 说明 MarshallingMessageConverter(Marshaller marshaller, Unmarshaller unmarshaller)Construct a newMarshallingMessageConverterwith the given Marshaller and Unmarshaller.org.springframework.messaging.converter中Unmarshaller的使用
返回Unmarshaller的org.springframework.messaging.converter中的方法 修饰符和类型 方法 说明 UnmarshallerMarshallingMessageConverter. getUnmarshaller()Return the configured unmarshaller.参数类型为Unmarshaller的org.springframework.messaging.converter中的方法 修饰符和类型 方法 说明 voidMarshallingMessageConverter. setUnmarshaller(Unmarshaller unmarshaller)Set theUnmarshallerto be used by this message converter.org.springframework.oxm中Unmarshaller的使用
org.springframework.oxm中Unmarshaller的子接口 修饰符和类型 接口 说明 interfaceGenericUnmarshallerSubinterface ofUnmarshallerthat has support for Java 5 generics.org.springframework.oxm.jaxb中Unmarshaller的使用
实现Unmarshaller的org.springframework.oxm.jaxb中的类 修饰符和类型 类 说明 classJaxb2MarshallerImplementation of theGenericMarshallerinterface for JAXB 2.2.org.springframework.oxm.jibx中Unmarshaller的使用
实现Unmarshaller的org.springframework.oxm.jibx中的类 修饰符和类型 类 说明 classJibxMarshaller已过时。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的子接口 修饰符和类型 接口 说明 interfaceMimeUnmarshallerSubinterface ofUnmarshallerthat can use MIME attachments to optimize storage of binary data.org.springframework.oxm.support中Unmarshaller的使用
实现Unmarshaller的org.springframework.oxm.support中的类 修饰符和类型 类 说明 classAbstractMarshallerAbstract implementation of theMarshallerandUnmarshallerinterface.org.springframework.oxm.xstream中Unmarshaller的使用
实现Unmarshaller的org.springframework.oxm.xstream中的类 修饰符和类型 类 说明 classXStreamMarshallerImplementation of theMarshallerinterface for XStream.