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