クラスの使用
org.springframework.oxm.XmlMappingException
パッケージ
説明
Java オブジェクトと JMS メッセージ間で変換する MessageConverter 抽象化を提供します。
Spring の O/X マッピング統合クラスのルートパッケージ。
JAXB と Spring の O/X マッピングサポートの統合を提供するパッケージ。
MIME 添付ファイルにバイナリデータを格納するために最適化された(非)マーシャラーが含まれています。
さまざまなシナリオ内で Spring の O/X マッピング統合を使用するための汎用サポートクラスを提供します。
XStream と Spring の O/X マッピングサポートの統合を提供するパッケージ。
org.springframework.jms.support.converter 内の XmlMappingException 使用
修飾子と型メソッド説明protected BytesMessageEE
MarshallingMessageConverter.marshalToBytesMessage
(ObjectSE object, SessionEE session, Marshaller marshaller) 指定されたオブジェクトをBytesMessage
EE にマーシャリングします。protected MessageEE
MarshallingMessageConverter.marshalToMessage
(ObjectSE object, SessionEE session, Marshaller marshaller, MessageType targetType) カスタムメッセージマーシャリングを可能にするテンプレートメソッド。protected TextMessageEE
MarshallingMessageConverter.marshalToTextMessage
(ObjectSE object, SessionEE session, Marshaller marshaller) 指定されたオブジェクトをTextMessage
EE にマーシャリングします。protected ObjectSE
MarshallingMessageConverter.unmarshalFromBytesMessage
(BytesMessageEE message, Unmarshaller unmarshaller) 指定されたBytesMessage
EE をオブジェクトに非整列化します。protected ObjectSE
MarshallingMessageConverter.unmarshalFromMessage
(MessageEE message, Unmarshaller unmarshaller) カスタムメッセージの非整列化を可能にするテンプレートメソッド。protected ObjectSE
MarshallingMessageConverter.unmarshalFromTextMessage
(TextMessageEE message, Unmarshaller unmarshaller) 指定されたTextMessage
EE をオブジェクトに非整列化します。org.springframework.oxm 内の XmlMappingException 使用
修飾子と型クラス説明class
マーシャリングまたはアンマーシャリングエラーが発生したときにスローされる例外の基本クラス。class
マーシャリングの失敗でスローされる例外。class
原因をこれ以上区別できないことを示す例外。class
非整列化の失敗でスローされる例外。class
マーシャリング検証の失敗でスローされる例外。org.springframework.oxm.jaxb 内の XmlMappingException 使用
修飾子と型メソッド説明protected XmlMappingException
Jaxb2Marshaller.convertJaxbException
(JAXBExceptionEE ex) 指定されたJAXBException
をorg.springframework.oxm
階層からの適切な例外に変換します。org.springframework.oxm.mime 内の XmlMappingException 使用
修飾子と型メソッド説明void
MimeMarshaller.marshal
(ObjectSE graph, ResultSE result, MimeContainer mimeContainer) 指定されたルートを持つオブジェクトグラフを指定されたResult
SE にマーシャリングし、バイナリデータをMimeContainer
に書き込みます。MimeUnmarshaller.unmarshal
(SourceSE source, MimeContainer mimeContainer) 指定されたSource
SE をオブジェクトグラフに非整列化し、MimeContainer
からバイナリ添付ファイルを読み取ります。org.springframework.oxm.support 内の XmlMappingException 使用
修飾子と型メソッド説明final void
指定されたルートを持つオブジェクトグラフを、提供されたjavax.xml.transform.Result
にマーシャリングします。protected abstract void
AbstractMarshaller.marshalDomNode
(ObjectSE graph, NodeSE node) 指定されたオブジェクトグラフを DOMNode
にマーシャリングする抽象テンプレートメソッド。protected void
AbstractMarshaller.marshalDomResult
(ObjectSE graph, DOMResultSE domResult) DOMResult
を処理するためのテンプレートメソッド。protected abstract void
AbstractMarshaller.marshalOutputStream
(ObjectSE graph, OutputStreamSE outputStream) 指定されたオブジェクトグラフをOutputStream
にマーシャリングする抽象テンプレートメソッド。protected abstract void
AbstractMarshaller.marshalSaxHandlers
(ObjectSE graph, ContentHandlerSE contentHandler, LexicalHandlerSE lexicalHandler) 指定されたオブジェクトグラフを SAXContentHandler
にマーシャリングする抽象テンプレートメソッド。protected void
AbstractMarshaller.marshalSaxResult
(ObjectSE graph, SAXResultSE saxResult) SAXResult
を処理するためのテンプレートメソッド。protected void
AbstractMarshaller.marshalStaxResult
(ObjectSE graph, ResultSE staxResult) StaxResult
を処理するためのテンプレートメソッド。protected void
AbstractMarshaller.marshalStreamResult
(ObjectSE graph, StreamResultSE streamResult) StreamResult
を処理するためのテンプレートメソッド。protected abstract void
AbstractMarshaller.marshalWriter
(ObjectSE graph, WriterSE writer) 指定されたオブジェクトグラフをWriter
にマーシャリングする抽象テンプレートメソッド。protected abstract void
AbstractMarshaller.marshalXmlEventWriter
(ObjectSE graph, XMLEventWriterSE eventWriter) 指定されたオブジェクトを StAXXMLEventWriter
にマーシャリングする抽象テンプレートメソッド。protected abstract void
AbstractMarshaller.marshalXmlStreamWriter
(ObjectSE graph, XMLStreamWriterSE streamWriter) 指定されたオブジェクトを StAXXMLStreamWriter
にマーシャリングする抽象テンプレートメソッド。final ObjectSE
指定された提供されたjavax.xml.transform.Source
をオブジェクトグラフに非整列化します。protected abstract ObjectSE
AbstractMarshaller.unmarshalDomNode
(NodeSE node) 指定された DOMNode
から非整列化するための抽象テンプレートメソッド。protected ObjectSE
AbstractMarshaller.unmarshalDomSource
(DOMSourceSE domSource) DOMSource
を処理するためのテンプレートメソッド。protected abstract ObjectSE
AbstractMarshaller.unmarshalInputStream
(InputStreamSE inputStream) 指定されたInputStream
から非整列化するための抽象テンプレートメソッド。protected abstract ObjectSE
AbstractMarshaller.unmarshalReader
(ReaderSE reader) 指定されたReader
から非整列化するための抽象テンプレートメソッド。protected abstract ObjectSE
AbstractMarshaller.unmarshalSaxReader
(XMLReaderSE xmlReader, InputSourceSE inputSource) 特定の SAXXMLReader
およびInputSource
を使用して非整列化するための抽象テンプレートメソッド。protected ObjectSE
AbstractMarshaller.unmarshalSaxSource
(SAXSourceSE saxSource) SAXSource
を処理するためのテンプレートメソッド。protected ObjectSE
AbstractMarshaller.unmarshalStaxSource
(SourceSE staxSource) StaxSource
を処理するためのテンプレートメソッド。protected ObjectSE
AbstractMarshaller.unmarshalStreamSource
(StreamSourceSE streamSource) StreamSource
を処理するためのテンプレートメソッド。protected abstract ObjectSE
AbstractMarshaller.unmarshalXmlEventReader
(XMLEventReaderSE eventReader) 指定された StaxXMLEventReader
から非整列化するための抽象テンプレートメソッド。protected abstract ObjectSE
AbstractMarshaller.unmarshalXmlStreamReader
(XMLStreamReaderSE streamReader) 指定された StaxXMLStreamReader
から非整列化するための抽象テンプレートメソッド。org.springframework.oxm.xstream 内の XmlMappingException 使用
修飾子と型メソッド説明protected XmlMappingException
XStreamMarshaller.convertXStreamException
(ExceptionSE ex, boolean marshalling) 指定された XStream 例外をorg.springframework.oxm
階層からの適切な例外に変換します。修飾子と型メソッド説明protected void
XStreamMarshaller.marshalDomNode
(ObjectSE graph, NodeSE node) void
XStreamMarshaller.marshalOutputStream
(ObjectSE graph, OutputStreamSE outputStream) void
XStreamMarshaller.marshalOutputStream
(ObjectSE graph, OutputStreamSE outputStream, com.thoughtworks.xstream.converters.DataHolder dataHolder) protected void
XStreamMarshaller.marshalSaxHandlers
(ObjectSE graph, ContentHandlerSE contentHandler, LexicalHandlerSE lexicalHandler) void
XStreamMarshaller.marshalWriter
(ObjectSE graph, WriterSE writer) void
XStreamMarshaller.marshalWriter
(ObjectSE graph, WriterSE writer, com.thoughtworks.xstream.converters.DataHolder dataHolder) protected void
XStreamMarshaller.marshalXmlEventWriter
(ObjectSE graph, XMLEventWriterSE eventWriter) protected void
XStreamMarshaller.marshalXmlStreamWriter
(ObjectSE graph, XMLStreamWriterSE streamWriter) protected ObjectSE
XStreamMarshaller.unmarshalDomNode
(NodeSE node) XStreamMarshaller.unmarshalInputStream
(InputStreamSE inputStream) XStreamMarshaller.unmarshalInputStream
(InputStreamSE inputStream, com.thoughtworks.xstream.converters.DataHolder dataHolder) XStreamMarshaller.unmarshalReader
(ReaderSE reader) XStreamMarshaller.unmarshalReader
(ReaderSE reader, com.thoughtworks.xstream.converters.DataHolder dataHolder) protected ObjectSE
XStreamMarshaller.unmarshalSaxReader
(XMLReaderSE xmlReader, InputSourceSE inputSource) protected ObjectSE
XStreamMarshaller.unmarshalStreamSource
(StreamSourceSE streamSource) protected ObjectSE
XStreamMarshaller.unmarshalXmlEventReader
(XMLEventReaderSE eventReader) protected ObjectSE
XStreamMarshaller.unmarshalXmlStreamReader
(XMLStreamReaderSE streamReader)