Package | Description |
---|---|
org.springframework.jms.support.converter |
Provides a MessageConverter abstraction to convert
between Java objects and JMS messages.
|
org.springframework.oxm |
Root package for Spring's O/X Mapping integration classes.
|
org.springframework.oxm.castor |
Package providing integration of Castor
within Spring's O/X Mapping support.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected BytesMessage |
MarshallingMessageConverter.marshalToBytesMessage(Object object,
Session session,
Marshaller marshaller)
Marshal the given object to a
BytesMessage . |
protected Message |
MarshallingMessageConverter.marshalToMessage(Object object,
Session session,
Marshaller marshaller,
MessageType targetType)
Template method that allows for custom message marshalling.
|
protected TextMessage |
MarshallingMessageConverter.marshalToTextMessage(Object object,
Session session,
Marshaller marshaller)
Marshal the given object to a
TextMessage . |
protected Object |
MarshallingMessageConverter.unmarshalFromBytesMessage(BytesMessage message,
Unmarshaller unmarshaller)
Unmarshal the given
BytesMessage 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 given
TextMessage into an object. |
Modifier and Type | Class and Description |
---|---|
class |
MarshallingException
Base class for exception thrown when a marshalling or unmarshalling error occurs.
|
class |
MarshallingFailureException
Exception thrown on marshalling failure.
|
class |
UncategorizedMappingException
Exception that indicates that the cause cannot be distinguished further.
|
class |
UnmarshallingFailureException
Exception thrown on unmarshalling failure.
|
class |
ValidationFailureException
Exception thrown on marshalling validation failure.
|
Modifier and Type | Method and Description |
---|---|
void |
Marshaller.marshal(Object graph,
Result result)
Marshal the object graph with the given root into the provided
Result . |
Object |
Unmarshaller.unmarshal(Source source)
Unmarshal the given
Source into an object graph. |
Modifier and Type | Class and Description |
---|---|
class |
CastorMappingException
Deprecated.
as of Spring Framework 4.3.13, due to the lack of activity on the Castor project
|
Modifier and Type | Method and Description |
---|---|
protected XmlMappingException |
CastorMarshaller.convertCastorException(org.exolab.castor.xml.XMLException ex,
boolean marshalling)
Deprecated.
Convert the given
XMLException to an appropriate exception from the
org.springframework.oxm hierarchy. |
Modifier and Type | Method and Description |
---|---|
protected void |
CastorMarshaller.marshalDomNode(Object graph,
Node node)
Deprecated.
|
protected void |
CastorMarshaller.marshalOutputStream(Object graph,
OutputStream outputStream)
Deprecated.
|
protected void |
CastorMarshaller.marshalSaxHandlers(Object graph,
ContentHandler contentHandler,
LexicalHandler lexicalHandler)
Deprecated.
|
protected void |
CastorMarshaller.marshalWriter(Object graph,
Writer writer)
Deprecated.
|
protected void |
CastorMarshaller.marshalXmlEventWriter(Object graph,
XMLEventWriter eventWriter)
Deprecated.
|
protected void |
CastorMarshaller.marshalXmlStreamWriter(Object graph,
XMLStreamWriter streamWriter)
Deprecated.
|
protected Object |
CastorMarshaller.unmarshalDomNode(Node node)
Deprecated.
|
protected Object |
CastorMarshaller.unmarshalInputStream(InputStream inputStream)
Deprecated.
|
protected Object |
CastorMarshaller.unmarshalReader(Reader reader)
Deprecated.
|
protected Object |
CastorMarshaller.unmarshalSaxReader(XMLReader xmlReader,
InputSource inputSource)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected XmlMappingException |
Jaxb2Marshaller.convertJaxbException(JAXBException ex)
Convert the given
JAXBException to an appropriate exception from the
org.springframework.oxm hierarchy. |
Modifier and Type | Method and Description |
---|---|
void |
Jaxb2Marshaller.marshal(Object graph,
Result result) |
void |
Jaxb2Marshaller.marshal(Object graph,
Result result,
MimeContainer mimeContainer) |
Object |
Jaxb2Marshaller.unmarshal(Source source) |
Object |
Jaxb2Marshaller.unmarshal(Source source,
MimeContainer mimeContainer) |
Modifier and Type | Method and Description |
---|---|
XmlMappingException |
JibxMarshaller.convertJibxException(org.jibx.runtime.JiBXException ex,
boolean marshalling)
Deprecated.
Convert the given
JiBXException to an appropriate exception from the
org.springframework.oxm hierarchy. |
Modifier and Type | Method and Description |
---|---|
protected void |
JibxMarshaller.marshalDomNode(Object graph,
Node node)
Deprecated.
|
protected void |
JibxMarshaller.marshalOutputStream(Object graph,
OutputStream outputStream)
Deprecated.
|
protected void |
JibxMarshaller.marshalSaxHandlers(Object graph,
ContentHandler contentHandler,
LexicalHandler lexicalHandler)
Deprecated.
|
protected void |
JibxMarshaller.marshalWriter(Object graph,
Writer writer)
Deprecated.
|
protected void |
JibxMarshaller.marshalXmlStreamWriter(Object graph,
XMLStreamWriter streamWriter)
Deprecated.
|
protected Object |
JibxMarshaller.unmarshalDomNode(Node node)
Deprecated.
|
protected Object |
JibxMarshaller.unmarshalInputStream(InputStream inputStream)
Deprecated.
|
protected Object |
JibxMarshaller.unmarshalReader(Reader reader)
Deprecated.
|
protected Object |
JibxMarshaller.unmarshalSaxReader(XMLReader xmlReader,
InputSource inputSource)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MimeMarshaller.marshal(Object graph,
Result result,
MimeContainer mimeContainer)
Marshals the object graph with the given root into the provided
Result ,
writing binary data to a MimeContainer . |
Object |
MimeUnmarshaller.unmarshal(Source source,
MimeContainer mimeContainer)
Unmarshals the given provided
Source into an object graph,
reading binary attachments from a MimeContainer . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMarshaller.marshal(Object graph,
Result result)
Marshals the object graph with the given root into the provided
javax.xml.transform.Result . |
protected abstract void |
AbstractMarshaller.marshalDomNode(Object graph,
Node node)
Abstract template method for marshalling the given object graph to a DOM
Node . |
protected void |
AbstractMarshaller.marshalDomResult(Object graph,
DOMResult domResult)
Template method for handling
DOMResult s. |
protected abstract void |
AbstractMarshaller.marshalOutputStream(Object graph,
OutputStream outputStream)
Abstract template method for marshalling the given object graph to a
OutputStream . |
protected abstract void |
AbstractMarshaller.marshalSaxHandlers(Object graph,
ContentHandler contentHandler,
LexicalHandler lexicalHandler)
Abstract template method for marshalling the given object graph to a SAX
ContentHandler . |
protected void |
AbstractMarshaller.marshalSaxResult(Object graph,
SAXResult saxResult)
Template method for handling
SAXResult s. |
protected void |
AbstractMarshaller.marshalStaxResult(Object graph,
Result staxResult)
Template method for handling
StaxResult s. |
protected void |
AbstractMarshaller.marshalStreamResult(Object graph,
StreamResult streamResult)
Template method for handling
StreamResult s. |
protected abstract void |
AbstractMarshaller.marshalWriter(Object graph,
Writer writer)
Abstract template method for marshalling the given object graph to a
Writer . |
protected abstract void |
AbstractMarshaller.marshalXmlEventWriter(Object graph,
XMLEventWriter eventWriter)
Abstract template method for marshalling the given object to a StAX
XMLEventWriter . |
protected abstract void |
AbstractMarshaller.marshalXmlStreamWriter(Object graph,
XMLStreamWriter streamWriter)
Abstract template method for marshalling the given object to a StAX
XMLStreamWriter . |
Object |
AbstractMarshaller.unmarshal(Source source)
Unmarshals the given provided
javax.xml.transform.Source into an object graph. |
protected abstract Object |
AbstractMarshaller.unmarshalDomNode(Node node)
Abstract template method for unmarshalling from a given DOM
Node . |
protected Object |
AbstractMarshaller.unmarshalDomSource(DOMSource domSource)
Template method for handling
DOMSource s. |
protected abstract Object |
AbstractMarshaller.unmarshalInputStream(InputStream inputStream)
Abstract template method for unmarshalling from a given
InputStream . |
protected abstract Object |
AbstractMarshaller.unmarshalReader(Reader reader)
Abstract template method for unmarshalling from a given
Reader . |
protected abstract Object |
AbstractMarshaller.unmarshalSaxReader(XMLReader xmlReader,
InputSource inputSource)
Abstract template method for unmarshalling using a given SAX
XMLReader
and InputSource . |
protected Object |
AbstractMarshaller.unmarshalSaxSource(SAXSource saxSource)
Template method for handling
SAXSource s. |
protected Object |
AbstractMarshaller.unmarshalStaxSource(Source staxSource)
Template method for handling
StaxSource s. |
protected Object |
AbstractMarshaller.unmarshalStreamSource(StreamSource streamSource)
Template method for handling
StreamSource s. |
protected abstract Object |
AbstractMarshaller.unmarshalXmlEventReader(XMLEventReader eventReader)
Abstract template method for unmarshalling from a given Stax
XMLEventReader . |
protected abstract Object |
AbstractMarshaller.unmarshalXmlStreamReader(XMLStreamReader streamReader)
Abstract template method for unmarshalling from a given Stax
XMLStreamReader . |
Modifier and Type | Method and Description |
---|---|
protected XmlMappingException |
XStreamMarshaller.convertXStreamException(Exception ex,
boolean marshalling)
Convert the given XStream exception to an appropriate exception from the
org.springframework.oxm hierarchy. |
Modifier and Type | Method and Description |
---|---|
protected void |
XStreamMarshaller.marshalDomNode(Object graph,
Node node) |
void |
XStreamMarshaller.marshalOutputStream(Object graph,
OutputStream outputStream) |
void |
XStreamMarshaller.marshalOutputStream(Object graph,
OutputStream outputStream,
com.thoughtworks.xstream.converters.DataHolder dataHolder) |
protected void |
XStreamMarshaller.marshalSaxHandlers(Object graph,
ContentHandler contentHandler,
LexicalHandler lexicalHandler) |
void |
XStreamMarshaller.marshalWriter(Object graph,
Writer writer) |
void |
XStreamMarshaller.marshalWriter(Object graph,
Writer writer,
com.thoughtworks.xstream.converters.DataHolder dataHolder) |
protected void |
XStreamMarshaller.marshalXmlEventWriter(Object graph,
XMLEventWriter eventWriter) |
protected void |
XStreamMarshaller.marshalXmlStreamWriter(Object graph,
XMLStreamWriter streamWriter) |
protected Object |
XStreamMarshaller.unmarshalDomNode(Node node) |
Object |
XStreamMarshaller.unmarshalInputStream(InputStream inputStream) |
Object |
XStreamMarshaller.unmarshalInputStream(InputStream inputStream,
com.thoughtworks.xstream.converters.DataHolder dataHolder) |
Object |
XStreamMarshaller.unmarshalReader(Reader reader) |
Object |
XStreamMarshaller.unmarshalReader(Reader reader,
com.thoughtworks.xstream.converters.DataHolder dataHolder) |
protected Object |
XStreamMarshaller.unmarshalSaxReader(XMLReader xmlReader,
InputSource inputSource) |
protected Object |
XStreamMarshaller.unmarshalStreamSource(StreamSource streamSource) |
protected Object |
XStreamMarshaller.unmarshalXmlEventReader(XMLEventReader eventReader) |
protected Object |
XStreamMarshaller.unmarshalXmlStreamReader(XMLStreamReader streamReader) |