Uses of Class
org.springframework.oxm.XmlMappingException
Package
Description
Provides a MessageConverter abstraction to convert
between Java objects and JMS messages.
Root package for Spring's O/X Mapping integration classes.
Package providing integration of JAXB
with Spring's O/X Mapping support.
Contains (un)marshallers optimized to store binary data in MIME attachments.
Provides generic support classes for using Spring's O/X Mapping integration
within various scenario's.
Package providing integration of XStream
with Spring's O/X Mapping support.
-
Uses of XmlMappingException in org.springframework.jms.support.converter
Modifier and TypeMethodDescriptionprotected BytesMessage
MarshallingMessageConverter.marshalToBytesMessage
(Object object, Session session, Marshaller marshaller) Marshal the given object to aBytesMessage
.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 aTextMessage
.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. -
Uses of XmlMappingException in org.springframework.oxm
Modifier and TypeClassDescriptionclass
Base class for exception thrown when a marshalling or unmarshalling error occurs.class
Exception thrown on marshalling failure.class
Exception that indicates that the cause cannot be distinguished further.class
Exception thrown on unmarshalling failure.class
Exception thrown on marshalling validation failure. -
Uses of XmlMappingException in org.springframework.oxm.jaxb
Modifier and TypeMethodDescriptionprotected XmlMappingException
Jaxb2Marshaller.convertJaxbException
(JAXBException ex) Convert the givenJAXBException
to an appropriate exception from theorg.springframework.oxm
hierarchy.Modifier and TypeMethodDescriptionvoid
void
Jaxb2Marshaller.marshal
(Object graph, Result result, MimeContainer mimeContainer) Jaxb2Marshaller.unmarshal
(Source source, MimeContainer mimeContainer) -
Uses of XmlMappingException in org.springframework.oxm.mime
Modifier and TypeMethodDescriptionvoid
MimeMarshaller.marshal
(Object graph, Result result, MimeContainer mimeContainer) Marshals the object graph with the given root into the providedResult
, writing binary data to aMimeContainer
.MimeUnmarshaller.unmarshal
(Source source, MimeContainer mimeContainer) Unmarshals the given providedSource
into an object graph, reading binary attachments from aMimeContainer
. -
Uses of XmlMappingException in org.springframework.oxm.support
Modifier and TypeMethodDescriptionfinal void
Marshals the object graph with the given root into the providedjavax.xml.transform.Result
.protected abstract void
AbstractMarshaller.marshalDomNode
(Object graph, Node node) Abstract template method for marshalling the given object graph to a DOMNode
.protected void
AbstractMarshaller.marshalDomResult
(Object graph, DOMResult domResult) Template method for handlingDOMResult
s.protected abstract void
AbstractMarshaller.marshalOutputStream
(Object graph, OutputStream outputStream) Abstract template method for marshalling the given object graph to aOutputStream
.protected abstract void
AbstractMarshaller.marshalSaxHandlers
(Object graph, ContentHandler contentHandler, LexicalHandler lexicalHandler) Abstract template method for marshalling the given object graph to a SAXContentHandler
.protected void
AbstractMarshaller.marshalSaxResult
(Object graph, SAXResult saxResult) Template method for handlingSAXResult
s.protected void
AbstractMarshaller.marshalStaxResult
(Object graph, Result staxResult) Template method for handlingStaxResult
s.protected void
AbstractMarshaller.marshalStreamResult
(Object graph, StreamResult streamResult) Template method for handlingStreamResult
s.protected abstract void
AbstractMarshaller.marshalWriter
(Object graph, Writer writer) Abstract template method for marshalling the given object graph to aWriter
.protected abstract void
AbstractMarshaller.marshalXmlEventWriter
(Object graph, XMLEventWriter eventWriter) Abstract template method for marshalling the given object to a StAXXMLEventWriter
.protected abstract void
AbstractMarshaller.marshalXmlStreamWriter
(Object graph, XMLStreamWriter streamWriter) Abstract template method for marshalling the given object to a StAXXMLStreamWriter
.final Object
Unmarshals the given providedjavax.xml.transform.Source
into an object graph.protected abstract Object
AbstractMarshaller.unmarshalDomNode
(Node node) Abstract template method for unmarshalling from a given DOMNode
.protected Object
AbstractMarshaller.unmarshalDomSource
(DOMSource domSource) Template method for handlingDOMSource
s.protected abstract Object
AbstractMarshaller.unmarshalInputStream
(InputStream inputStream) Abstract template method for unmarshalling from a givenInputStream
.protected abstract Object
AbstractMarshaller.unmarshalReader
(Reader reader) Abstract template method for unmarshalling from a givenReader
.protected abstract Object
AbstractMarshaller.unmarshalSaxReader
(XMLReader xmlReader, InputSource inputSource) Abstract template method for unmarshalling using a given SAXXMLReader
andInputSource
.protected Object
AbstractMarshaller.unmarshalSaxSource
(SAXSource saxSource) Template method for handlingSAXSource
s.protected Object
AbstractMarshaller.unmarshalStaxSource
(Source staxSource) Template method for handlingStaxSource
s.protected Object
AbstractMarshaller.unmarshalStreamSource
(StreamSource streamSource) Template method for handlingStreamSource
s.protected abstract Object
AbstractMarshaller.unmarshalXmlEventReader
(XMLEventReader eventReader) Abstract template method for unmarshalling from a given StaxXMLEventReader
.protected abstract Object
AbstractMarshaller.unmarshalXmlStreamReader
(XMLStreamReader streamReader) Abstract template method for unmarshalling from a given StaxXMLStreamReader
. -
Uses of XmlMappingException in org.springframework.oxm.xstream
Modifier and TypeMethodDescriptionprotected XmlMappingException
XStreamMarshaller.convertXStreamException
(Exception ex, boolean marshalling) Convert the given XStream exception to an appropriate exception from theorg.springframework.oxm
hierarchy.Modifier and TypeMethodDescriptionprotected 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) XStreamMarshaller.unmarshalInputStream
(InputStream inputStream) XStreamMarshaller.unmarshalInputStream
(InputStream inputStream, com.thoughtworks.xstream.converters.DataHolder dataHolder) XStreamMarshaller.unmarshalReader
(Reader reader) 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)