接口的使用
org.springframework.oxm.Marshaller
使用Marshaller的程序包 程序包 说明 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.web.servlet.view.xml Support classes for providing a View implementation based on XML Marshalling.org.springframework.http.converter.xml中Marshaller的使用
参数类型为Marshaller的org.springframework.http.converter.xml中的方法 修饰符和类型 方法 说明 voidMarshallingHttpMessageConverter. setMarshaller(Marshaller marshaller)Set theMarshallerto be used by this message converter.参数类型为Marshaller的org.springframework.http.converter.xml中的构造器 构造器 说明 MarshallingHttpMessageConverter(Marshaller marshaller)Construct a newMarshallingMessageConverterwith the givenMarshallerset.MarshallingHttpMessageConverter(Marshaller marshaller, Unmarshaller unmarshaller)Construct a newMarshallingMessageConverterwith the givenMarshallerandUnmarshaller.org.springframework.jms.support.converter中Marshaller的使用
参数类型为Marshaller的org.springframework.jms.support.converter中的方法 修饰符和类型 方法 说明 protected BytesMessageMarshallingMessageConverter. marshalToBytesMessage(Object object, Session session, Marshaller marshaller)Marshal the given object to aBytesMessage.protected MessageMarshallingMessageConverter. marshalToMessage(Object object, Session session, Marshaller marshaller, MessageType targetType)Template method that allows for custom message marshalling.protected TextMessageMarshallingMessageConverter. marshalToTextMessage(Object object, Session session, Marshaller marshaller)Marshal the given object to aTextMessage.voidMarshallingMessageConverter. setMarshaller(Marshaller marshaller)Set theMarshallerto be used by this message converter.参数类型为Marshaller的org.springframework.jms.support.converter中的构造器 构造器 说明 MarshallingMessageConverter(Marshaller marshaller)Construct a newMarshallingMessageConverterwith the givenMarshallerset.MarshallingMessageConverter(Marshaller marshaller, Unmarshaller unmarshaller)Construct a newMarshallingMessageConverterwith the given Marshaller and Unmarshaller.org.springframework.messaging.converter中Marshaller的使用
返回Marshaller的org.springframework.messaging.converter中的方法 修饰符和类型 方法 说明 MarshallerMarshallingMessageConverter. getMarshaller()Return the configured Marshaller.参数类型为Marshaller的org.springframework.messaging.converter中的方法 修饰符和类型 方法 说明 voidMarshallingMessageConverter. setMarshaller(Marshaller marshaller)Set theMarshallerto be used by this message converter.参数类型为Marshaller的org.springframework.messaging.converter中的构造器 构造器 说明 MarshallingMessageConverter(Marshaller marshaller)Constructor withMarshaller.org.springframework.oxm中Marshaller的使用
org.springframework.oxm中Marshaller的子接口 修饰符和类型 接口 说明 interfaceGenericMarshallerSubinterface ofMarshallerthat has support for Java 5 generics.org.springframework.oxm.jaxb中Marshaller的使用
实现Marshaller的org.springframework.oxm.jaxb中的类 修饰符和类型 类 说明 classJaxb2MarshallerImplementation of theGenericMarshallerinterface for JAXB 2.2.org.springframework.oxm.jibx中Marshaller的使用
实现Marshaller的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中Marshaller的使用
org.springframework.oxm.mime中Marshaller的子接口 修饰符和类型 接口 说明 interfaceMimeMarshallerSubinterface ofMarshallerthat can use MIME attachments to optimize storage of binary data.org.springframework.oxm.support中Marshaller的使用
实现Marshaller的org.springframework.oxm.support中的类 修饰符和类型 类 说明 classAbstractMarshallerAbstract implementation of theMarshallerandUnmarshallerinterface.返回Marshaller的org.springframework.oxm.support中的方法 修饰符和类型 方法 说明 MarshallerMarshallingSource. getMarshaller()Return theMarshallerused by thisMarshallingSource.参数类型为Marshaller的org.springframework.oxm.support中的构造器 构造器 说明 MarshallingSource(Marshaller marshaller, Object content)Create a newMarshallingSourcewith the given marshaller and content.org.springframework.oxm.xstream中Marshaller的使用
实现Marshaller的org.springframework.oxm.xstream中的类 修饰符和类型 类 说明 classXStreamMarshallerImplementation of theMarshallerinterface for XStream.org.springframework.web.servlet.view.xml中Marshaller的使用
参数类型为Marshaller的org.springframework.web.servlet.view.xml中的方法 修饰符和类型 方法 说明 voidMarshallingView. setMarshaller(Marshaller marshaller)Set theMarshallerto be used by this view.参数类型为Marshaller的org.springframework.web.servlet.view.xml中的构造器 构造器 说明 MarshallingView(Marshaller marshaller)Constructs a newMarshallingViewwith the givenMarshallerset.