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(java.lang.Object object,
Session session,
Marshaller marshaller)
Marshal the given object to a
BytesMessage . |
protected Message |
MarshallingMessageConverter.marshalToMessage(java.lang.Object object,
Session session,
Marshaller marshaller,
MessageType targetType)
Template method that allows for custom message marshalling.
|
protected TextMessage |
MarshallingMessageConverter.marshalToTextMessage(java.lang.Object object,
Session session,
Marshaller marshaller)
Marshal the given object to a
TextMessage . |
protected java.lang.Object |
MarshallingMessageConverter.unmarshalFromBytesMessage(BytesMessage message,
Unmarshaller unmarshaller)
Unmarshal the given
BytesMessage into an object. |
protected java.lang.Object |
MarshallingMessageConverter.unmarshalFromMessage(Message message,
Unmarshaller unmarshaller)
Template method that allows for custom message unmarshalling.
|
protected java.lang.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(java.lang.Object graph,
javax.xml.transform.Result result)
Marshal the object graph with the given root into the provided
Result . |
java.lang.Object |
Unmarshaller.unmarshal(javax.xml.transform.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(java.lang.Object graph,
org.w3c.dom.Node node)
Deprecated.
|
protected void |
CastorMarshaller.marshalOutputStream(java.lang.Object graph,
java.io.OutputStream outputStream)
Deprecated.
|
protected void |
CastorMarshaller.marshalSaxHandlers(java.lang.Object graph,
org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler)
Deprecated.
|
protected void |
CastorMarshaller.marshalWriter(java.lang.Object graph,
java.io.Writer writer)
Deprecated.
|
protected void |
CastorMarshaller.marshalXmlEventWriter(java.lang.Object graph,
javax.xml.stream.XMLEventWriter eventWriter)
Deprecated.
|
protected void |
CastorMarshaller.marshalXmlStreamWriter(java.lang.Object graph,
javax.xml.stream.XMLStreamWriter streamWriter)
Deprecated.
|
protected java.lang.Object |
CastorMarshaller.unmarshalDomNode(org.w3c.dom.Node node)
Deprecated.
|
protected java.lang.Object |
CastorMarshaller.unmarshalInputStream(java.io.InputStream inputStream)
Deprecated.
|
protected java.lang.Object |
CastorMarshaller.unmarshalReader(java.io.Reader reader)
Deprecated.
|
protected java.lang.Object |
CastorMarshaller.unmarshalSaxReader(org.xml.sax.XMLReader xmlReader,
org.xml.sax.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(java.lang.Object graph,
javax.xml.transform.Result result) |
void |
Jaxb2Marshaller.marshal(java.lang.Object graph,
javax.xml.transform.Result result,
MimeContainer mimeContainer) |
java.lang.Object |
Jaxb2Marshaller.unmarshal(javax.xml.transform.Source source) |
java.lang.Object |
Jaxb2Marshaller.unmarshal(javax.xml.transform.Source source,
MimeContainer mimeContainer) |
Modifier and Type | Method and Description |
---|---|
XmlMappingException |
JibxMarshaller.convertJibxException(org.jibx.runtime.JiBXException ex,
boolean marshalling)
Convert the given
JiBXException to an appropriate exception from the
org.springframework.oxm hierarchy. |
Modifier and Type | Method and Description |
---|---|
protected void |
JibxMarshaller.marshalDomNode(java.lang.Object graph,
org.w3c.dom.Node node) |
protected void |
JibxMarshaller.marshalOutputStream(java.lang.Object graph,
java.io.OutputStream outputStream) |
protected void |
JibxMarshaller.marshalSaxHandlers(java.lang.Object graph,
org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler) |
protected void |
JibxMarshaller.marshalWriter(java.lang.Object graph,
java.io.Writer writer) |
protected void |
JibxMarshaller.marshalXmlStreamWriter(java.lang.Object graph,
javax.xml.stream.XMLStreamWriter streamWriter) |
protected java.lang.Object |
JibxMarshaller.unmarshalDomNode(org.w3c.dom.Node node) |
protected java.lang.Object |
JibxMarshaller.unmarshalInputStream(java.io.InputStream inputStream) |
protected java.lang.Object |
JibxMarshaller.unmarshalReader(java.io.Reader reader) |
protected java.lang.Object |
JibxMarshaller.unmarshalSaxReader(org.xml.sax.XMLReader xmlReader,
org.xml.sax.InputSource inputSource) |
Modifier and Type | Method and Description |
---|---|
void |
MimeMarshaller.marshal(java.lang.Object graph,
javax.xml.transform.Result result,
MimeContainer mimeContainer)
Marshals the object graph with the given root into the provided
Result ,
writing binary data to a MimeContainer . |
java.lang.Object |
MimeUnmarshaller.unmarshal(javax.xml.transform.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(java.lang.Object graph,
javax.xml.transform.Result result)
Marshals the object graph with the given root into the provided
javax.xml.transform.Result . |
protected abstract void |
AbstractMarshaller.marshalDomNode(java.lang.Object graph,
org.w3c.dom.Node node)
Abstract template method for marshalling the given object graph to a DOM
Node . |
protected void |
AbstractMarshaller.marshalDomResult(java.lang.Object graph,
javax.xml.transform.dom.DOMResult domResult)
Template method for handling
DOMResult s. |
protected abstract void |
AbstractMarshaller.marshalOutputStream(java.lang.Object graph,
java.io.OutputStream outputStream)
Abstract template method for marshalling the given object graph to a
OutputStream . |
protected abstract void |
AbstractMarshaller.marshalSaxHandlers(java.lang.Object graph,
org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler)
Abstract template method for marshalling the given object graph to a SAX
ContentHandler . |
protected void |
AbstractMarshaller.marshalSaxResult(java.lang.Object graph,
javax.xml.transform.sax.SAXResult saxResult)
Template method for handling
SAXResult s. |
protected void |
AbstractMarshaller.marshalStaxResult(java.lang.Object graph,
javax.xml.transform.Result staxResult)
Template method for handling
StaxResult s. |
protected void |
AbstractMarshaller.marshalStreamResult(java.lang.Object graph,
javax.xml.transform.stream.StreamResult streamResult)
Template method for handling
StreamResult s. |
protected abstract void |
AbstractMarshaller.marshalWriter(java.lang.Object graph,
java.io.Writer writer)
Abstract template method for marshalling the given object graph to a
Writer . |
protected abstract void |
AbstractMarshaller.marshalXmlEventWriter(java.lang.Object graph,
javax.xml.stream.XMLEventWriter eventWriter)
Abstract template method for marshalling the given object to a StAX
XMLEventWriter . |
protected abstract void |
AbstractMarshaller.marshalXmlStreamWriter(java.lang.Object graph,
javax.xml.stream.XMLStreamWriter streamWriter)
Abstract template method for marshalling the given object to a StAX
XMLStreamWriter . |
java.lang.Object |
AbstractMarshaller.unmarshal(javax.xml.transform.Source source)
Unmarshals the given provided
javax.xml.transform.Source into an object graph. |
protected abstract java.lang.Object |
AbstractMarshaller.unmarshalDomNode(org.w3c.dom.Node node)
Abstract template method for unmarshalling from a given DOM
Node . |
protected java.lang.Object |
AbstractMarshaller.unmarshalDomSource(javax.xml.transform.dom.DOMSource domSource)
Template method for handling
DOMSource s. |
protected abstract java.lang.Object |
AbstractMarshaller.unmarshalInputStream(java.io.InputStream inputStream)
Abstract template method for unmarshalling from a given
InputStream . |
protected abstract java.lang.Object |
AbstractMarshaller.unmarshalReader(java.io.Reader reader)
Abstract template method for unmarshalling from a given
Reader . |
protected abstract java.lang.Object |
AbstractMarshaller.unmarshalSaxReader(org.xml.sax.XMLReader xmlReader,
org.xml.sax.InputSource inputSource)
Abstract template method for unmarshalling using a given SAX
XMLReader
and InputSource . |
protected java.lang.Object |
AbstractMarshaller.unmarshalSaxSource(javax.xml.transform.sax.SAXSource saxSource)
Template method for handling
SAXSource s. |
protected java.lang.Object |
AbstractMarshaller.unmarshalStaxSource(javax.xml.transform.Source staxSource)
Template method for handling
StaxSource s. |
protected java.lang.Object |
AbstractMarshaller.unmarshalStreamSource(javax.xml.transform.stream.StreamSource streamSource)
Template method for handling
StreamSource s. |
protected abstract java.lang.Object |
AbstractMarshaller.unmarshalXmlEventReader(javax.xml.stream.XMLEventReader eventReader)
Abstract template method for unmarshalling from a given Stax
XMLEventReader . |
protected abstract java.lang.Object |
AbstractMarshaller.unmarshalXmlStreamReader(javax.xml.stream.XMLStreamReader streamReader)
Abstract template method for unmarshalling from a given Stax
XMLStreamReader . |
Modifier and Type | Method and Description |
---|---|
protected XmlMappingException |
XStreamMarshaller.convertXStreamException(java.lang.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(java.lang.Object graph,
org.w3c.dom.Node node) |
void |
XStreamMarshaller.marshalOutputStream(java.lang.Object graph,
java.io.OutputStream outputStream) |
void |
XStreamMarshaller.marshalOutputStream(java.lang.Object graph,
java.io.OutputStream outputStream,
com.thoughtworks.xstream.converters.DataHolder dataHolder) |
protected void |
XStreamMarshaller.marshalSaxHandlers(java.lang.Object graph,
org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler) |
void |
XStreamMarshaller.marshalWriter(java.lang.Object graph,
java.io.Writer writer) |
void |
XStreamMarshaller.marshalWriter(java.lang.Object graph,
java.io.Writer writer,
com.thoughtworks.xstream.converters.DataHolder dataHolder) |
protected void |
XStreamMarshaller.marshalXmlEventWriter(java.lang.Object graph,
javax.xml.stream.XMLEventWriter eventWriter) |
protected void |
XStreamMarshaller.marshalXmlStreamWriter(java.lang.Object graph,
javax.xml.stream.XMLStreamWriter streamWriter) |
protected java.lang.Object |
XStreamMarshaller.unmarshalDomNode(org.w3c.dom.Node node) |
java.lang.Object |
XStreamMarshaller.unmarshalInputStream(java.io.InputStream inputStream) |
java.lang.Object |
XStreamMarshaller.unmarshalInputStream(java.io.InputStream inputStream,
com.thoughtworks.xstream.converters.DataHolder dataHolder) |
java.lang.Object |
XStreamMarshaller.unmarshalReader(java.io.Reader reader) |
java.lang.Object |
XStreamMarshaller.unmarshalReader(java.io.Reader reader,
com.thoughtworks.xstream.converters.DataHolder dataHolder) |
protected java.lang.Object |
XStreamMarshaller.unmarshalSaxReader(org.xml.sax.XMLReader xmlReader,
org.xml.sax.InputSource inputSource) |
protected java.lang.Object |
XStreamMarshaller.unmarshalStreamSource(javax.xml.transform.stream.StreamSource streamSource) |
protected java.lang.Object |
XStreamMarshaller.unmarshalXmlEventReader(javax.xml.stream.XMLEventReader eventReader) |
protected java.lang.Object |
XStreamMarshaller.unmarshalXmlStreamReader(javax.xml.stream.XMLStreamReader streamReader) |