| java.lang.Object org.springframework.oxm.AbstractMarshaller org.springframework.oxm.xmlbeans.XmlBeansMarshaller
convertXmlBeansException | public XmlMappingException convertXmlBeansException(Exception ex, boolean marshalling)(Code) | | Converts the given XMLBeans exception to an appropriate exception from the org.springframework.oxm
hierarchy.
The default implementation delegates to XmlBeansUtils . Can be overridden in subclasses.
A boolean flag is used to indicate whether this exception occurs during marshalling or unmarshalling, since
XMLBeans itself does not make this distinction in its exception hierarchy.
Parameters: ex - XMLBeans Exception that occured Parameters: marshalling - indicates whether the exception occurs during marshalling (true ), orunmarshalling (false ) the corresponding XmlMappingException See Also: XmlBeansUtils.convertXmlBeansException(Exceptionboolean) |
getXmlOptions | public XmlOptions getXmlOptions()(Code) | | Returns the XmlOptions .
|
isValidating | public boolean isValidating()(Code) | | Returns whether this marshaller should validate in- and outgoing documents.
|
setValidating | public void setValidating(boolean validating)(Code) | | Sets whether this marshaller should validate in- and outgoing documents. Default is false .
|
supports | public boolean supports(Class clazz)(Code) | | Returns true if the given class is an implementation of
XmlObject .
|
Fields inherited from org.springframework.oxm.AbstractMarshaller | final protected Log logger(Code)(Java Doc)
|
Methods inherited from org.springframework.oxm.AbstractMarshaller | protected DocumentBuilder createDocumentBuilder(DocumentBuilderFactory factory) throws ParserConfigurationException(Code)(Java Doc) protected DocumentBuilderFactory createDocumentBuilderFactory() throws ParserConfigurationException(Code)(Java Doc) protected XMLReader createXmlReader() throws SAXException(Code)(Java Doc) final public void marshal(Object graph, Result result) throws XmlMappingException, IOException(Code)(Java Doc) abstract protected void marshalDomNode(Object graph, Node node) throws XmlMappingException(Code)(Java Doc) protected void marshalDomResult(Object graph, DOMResult domResult) throws XmlMappingException(Code)(Java Doc) abstract protected void marshalOutputStream(Object graph, OutputStream outputStream) throws XmlMappingException, IOException(Code)(Java Doc) abstract protected void marshalSaxHandlers(Object graph, ContentHandler contentHandler, LexicalHandler lexicalHandler) throws XmlMappingException(Code)(Java Doc) protected void marshalSaxResult(Object graph, SAXResult saxResult) throws XmlMappingException(Code)(Java Doc) protected void marshalStaxResult(Object graph, StaxResult staxResult) throws XmlMappingException(Code)(Java Doc) protected void marshalStreamResult(Object graph, StreamResult streamResult) throws XmlMappingException, IOException(Code)(Java Doc) abstract protected void marshalWriter(Object graph, Writer writer) throws XmlMappingException, IOException(Code)(Java Doc) abstract protected void marshalXmlEventWriter(Object graph, XMLEventWriter eventWriter) throws XmlMappingException(Code)(Java Doc) abstract protected void marshalXmlStreamWriter(Object graph, XMLStreamWriter streamWriter) throws XmlMappingException(Code)(Java Doc) final public Object unmarshal(Source source) throws XmlMappingException, IOException(Code)(Java Doc) abstract protected Object unmarshalDomNode(Node node) throws XmlMappingException(Code)(Java Doc) protected Object unmarshalDomSource(DOMSource domSource) throws XmlMappingException(Code)(Java Doc) abstract protected Object unmarshalInputStream(InputStream inputStream) throws XmlMappingException, IOException(Code)(Java Doc) abstract protected Object unmarshalReader(Reader reader) throws XmlMappingException, IOException(Code)(Java Doc) abstract protected Object unmarshalSaxReader(XMLReader xmlReader, InputSource inputSource) throws XmlMappingException, IOException(Code)(Java Doc) protected Object unmarshalSaxSource(SAXSource saxSource) throws XmlMappingException, IOException(Code)(Java Doc) protected Object unmarshalStaxSource(StaxSource staxSource) throws XmlMappingException(Code)(Java Doc) protected Object unmarshalStreamSource(StreamSource streamSource) throws XmlMappingException, IOException(Code)(Java Doc) abstract protected Object unmarshalXmlEventReader(XMLEventReader eventReader) throws XmlMappingException(Code)(Java Doc) abstract protected Object unmarshalXmlStreamReader(XMLStreamReader streamReader) throws XmlMappingException(Code)(Java Doc)
|
|
|