类的使用
org.springframework.oxm.XmlMappingException
使用XmlMappingException的程序包 程序包 说明 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.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.org.springframework.jms.support.converter中XmlMappingException的使用
抛出XmlMappingException的org.springframework.jms.support.converter中的方法 修饰符和类型 方法 说明 protected BytesMessageMarshallingMessageConverter. marshalToBytesMessage(Object object, Session session, Marshaller marshaller)Marshal the given object to aBytesMessage.protected MessageMarshallingMessageConverter. marshalToMessage(Object object, Session session, Marshaller marshaller, MessageType targetType)Template method that allows for custom message marshalling.protected TextMessageMarshallingMessageConverter. marshalToTextMessage(Object object, Session session, Marshaller marshaller)Marshal the given object to aTextMessage.protected ObjectMarshallingMessageConverter. unmarshalFromBytesMessage(BytesMessage message, Unmarshaller unmarshaller)Unmarshal the givenBytesMessageinto an object.protected ObjectMarshallingMessageConverter. unmarshalFromMessage(Message message, Unmarshaller unmarshaller)Template method that allows for custom message unmarshalling.protected ObjectMarshallingMessageConverter. unmarshalFromTextMessage(TextMessage message, Unmarshaller unmarshaller)Unmarshal the givenTextMessageinto an object.org.springframework.oxm中XmlMappingException的使用
org.springframework.oxm中XmlMappingException的子类 修饰符和类型 类 说明 classMarshallingExceptionBase class for exception thrown when a marshalling or unmarshalling error occurs.classMarshallingFailureExceptionException thrown on marshalling failure.classUncategorizedMappingExceptionException that indicates that the cause cannot be distinguished further.classUnmarshallingFailureExceptionException thrown on unmarshalling failure.classValidationFailureExceptionException thrown on marshalling validation failure.抛出XmlMappingException的org.springframework.oxm中的方法 修饰符和类型 方法 说明 voidMarshaller. marshal(Object graph, Result result)Marshal the object graph with the given root into the providedResult.ObjectUnmarshaller. unmarshal(Source source)Unmarshal the givenSourceinto an object graph.org.springframework.oxm.jaxb中XmlMappingException的使用
返回XmlMappingException的org.springframework.oxm.jaxb中的方法 修饰符和类型 方法 说明 protected XmlMappingExceptionJaxb2Marshaller. convertJaxbException(JAXBException ex)Convert the givenJAXBExceptionto an appropriate exception from theorg.springframework.oxmhierarchy.抛出XmlMappingException的org.springframework.oxm.jaxb中的方法 修饰符和类型 方法 说明 voidJaxb2Marshaller. marshal(Object graph, Result result)voidJaxb2Marshaller. marshal(Object graph, Result result, MimeContainer mimeContainer)ObjectJaxb2Marshaller. unmarshal(Source source)ObjectJaxb2Marshaller. unmarshal(Source source, MimeContainer mimeContainer)org.springframework.oxm.jibx中XmlMappingException的使用
返回XmlMappingException的org.springframework.oxm.jibx中的方法 修饰符和类型 方法 说明 XmlMappingExceptionJibxMarshaller. convertJibxException(org.jibx.runtime.JiBXException ex, boolean marshalling)已过时。Convert the givenJiBXExceptionto an appropriate exception from theorg.springframework.oxmhierarchy.抛出XmlMappingException的org.springframework.oxm.jibx中的方法 修饰符和类型 方法 说明 protected voidJibxMarshaller. marshalDomNode(Object graph, Node node)已过时。protected voidJibxMarshaller. marshalOutputStream(Object graph, OutputStream outputStream)已过时。protected voidJibxMarshaller. marshalSaxHandlers(Object graph, ContentHandler contentHandler, LexicalHandler lexicalHandler)已过时。protected voidJibxMarshaller. marshalWriter(Object graph, Writer writer)已过时。protected voidJibxMarshaller. marshalXmlStreamWriter(Object graph, XMLStreamWriter streamWriter)已过时。protected ObjectJibxMarshaller. unmarshalDomNode(Node node)已过时。protected ObjectJibxMarshaller. unmarshalInputStream(InputStream inputStream)已过时。protected ObjectJibxMarshaller. unmarshalReader(Reader reader)已过时。protected ObjectJibxMarshaller. unmarshalSaxReader(XMLReader xmlReader, InputSource inputSource)已过时。org.springframework.oxm.mime中XmlMappingException的使用
抛出XmlMappingException的org.springframework.oxm.mime中的方法 修饰符和类型 方法 说明 voidMimeMarshaller. marshal(Object graph, Result result, MimeContainer mimeContainer)Marshals the object graph with the given root into the providedResult, writing binary data to aMimeContainer.ObjectMimeUnmarshaller. unmarshal(Source source, MimeContainer mimeContainer)Unmarshals the given providedSourceinto an object graph, reading binary attachments from aMimeContainer.org.springframework.oxm.support中XmlMappingException的使用
抛出XmlMappingException的org.springframework.oxm.support中的方法 修饰符和类型 方法 说明 voidAbstractMarshaller. marshal(Object graph, Result result)Marshals the object graph with the given root into the providedjavax.xml.transform.Result.protected abstract voidAbstractMarshaller. marshalDomNode(Object graph, Node node)Abstract template method for marshalling the given object graph to a DOMNode.protected voidAbstractMarshaller. marshalDomResult(Object graph, DOMResult domResult)Template method for handlingDOMResults.protected abstract voidAbstractMarshaller. marshalOutputStream(Object graph, OutputStream outputStream)Abstract template method for marshalling the given object graph to aOutputStream.protected abstract voidAbstractMarshaller. marshalSaxHandlers(Object graph, ContentHandler contentHandler, LexicalHandler lexicalHandler)Abstract template method for marshalling the given object graph to a SAXContentHandler.protected voidAbstractMarshaller. marshalSaxResult(Object graph, SAXResult saxResult)Template method for handlingSAXResults.protected voidAbstractMarshaller. marshalStaxResult(Object graph, Result staxResult)Template method for handlingStaxResults.protected voidAbstractMarshaller. marshalStreamResult(Object graph, StreamResult streamResult)Template method for handlingStreamResults.protected abstract voidAbstractMarshaller. marshalWriter(Object graph, Writer writer)Abstract template method for marshalling the given object graph to aWriter.protected abstract voidAbstractMarshaller. marshalXmlEventWriter(Object graph, XMLEventWriter eventWriter)Abstract template method for marshalling the given object to a StAXXMLEventWriter.protected abstract voidAbstractMarshaller. marshalXmlStreamWriter(Object graph, XMLStreamWriter streamWriter)Abstract template method for marshalling the given object to a StAXXMLStreamWriter.ObjectAbstractMarshaller. unmarshal(Source source)Unmarshals the given providedjavax.xml.transform.Sourceinto an object graph.protected abstract ObjectAbstractMarshaller. unmarshalDomNode(Node node)Abstract template method for unmarshalling from a given DOMNode.protected ObjectAbstractMarshaller. unmarshalDomSource(DOMSource domSource)Template method for handlingDOMSources.protected abstract ObjectAbstractMarshaller. unmarshalInputStream(InputStream inputStream)Abstract template method for unmarshalling from a givenInputStream.protected abstract ObjectAbstractMarshaller. unmarshalReader(Reader reader)Abstract template method for unmarshalling from a givenReader.protected abstract ObjectAbstractMarshaller. unmarshalSaxReader(XMLReader xmlReader, InputSource inputSource)Abstract template method for unmarshalling using a given SAXXMLReaderandInputSource.protected ObjectAbstractMarshaller. unmarshalSaxSource(SAXSource saxSource)Template method for handlingSAXSources.protected ObjectAbstractMarshaller. unmarshalStaxSource(Source staxSource)Template method for handlingStaxSources.protected ObjectAbstractMarshaller. unmarshalStreamSource(StreamSource streamSource)Template method for handlingStreamSources.protected abstract ObjectAbstractMarshaller. unmarshalXmlEventReader(XMLEventReader eventReader)Abstract template method for unmarshalling from a given StaxXMLEventReader.protected abstract ObjectAbstractMarshaller. unmarshalXmlStreamReader(XMLStreamReader streamReader)Abstract template method for unmarshalling from a given StaxXMLStreamReader.org.springframework.oxm.xstream中XmlMappingException的使用
返回XmlMappingException的org.springframework.oxm.xstream中的方法 修饰符和类型 方法 说明 protected XmlMappingExceptionXStreamMarshaller. convertXStreamException(Exception ex, boolean marshalling)Convert the given XStream exception to an appropriate exception from theorg.springframework.oxmhierarchy.抛出XmlMappingException的org.springframework.oxm.xstream中的方法 修饰符和类型 方法 说明 protected voidXStreamMarshaller. marshalDomNode(Object graph, Node node)voidXStreamMarshaller. marshalOutputStream(Object graph, OutputStream outputStream)voidXStreamMarshaller. marshalOutputStream(Object graph, OutputStream outputStream, com.thoughtworks.xstream.converters.DataHolder dataHolder)protected voidXStreamMarshaller. marshalSaxHandlers(Object graph, ContentHandler contentHandler, LexicalHandler lexicalHandler)voidXStreamMarshaller. marshalWriter(Object graph, Writer writer)voidXStreamMarshaller. marshalWriter(Object graph, Writer writer, com.thoughtworks.xstream.converters.DataHolder dataHolder)protected voidXStreamMarshaller. marshalXmlEventWriter(Object graph, XMLEventWriter eventWriter)protected voidXStreamMarshaller. marshalXmlStreamWriter(Object graph, XMLStreamWriter streamWriter)protected ObjectXStreamMarshaller. unmarshalDomNode(Node node)ObjectXStreamMarshaller. unmarshalInputStream(InputStream inputStream)ObjectXStreamMarshaller. unmarshalInputStream(InputStream inputStream, com.thoughtworks.xstream.converters.DataHolder dataHolder)ObjectXStreamMarshaller. unmarshalReader(Reader reader)ObjectXStreamMarshaller. unmarshalReader(Reader reader, com.thoughtworks.xstream.converters.DataHolder dataHolder)protected ObjectXStreamMarshaller. unmarshalSaxReader(XMLReader xmlReader, InputSource inputSource)protected ObjectXStreamMarshaller. unmarshalStreamSource(StreamSource streamSource)protected ObjectXStreamMarshaller. unmarshalXmlEventReader(XMLEventReader eventReader)protected ObjectXStreamMarshaller. unmarshalXmlStreamReader(XMLStreamReader streamReader)