spring-framework / org.springframework.oxm.support

Package org.springframework.oxm.support

Types

AbstractMarshaller

abstract class AbstractMarshaller : Marshaller, Unmarshaller

Abstract implementation of the Marshaller and Unmarshaller interface. This implementation inspects the given Source or Result, and delegates further handling to overridable template methods.

MarshallingSource

open class MarshallingSource : SAXSource

Source implementation that uses a Marshaller.Can be constructed with a Marshaller and an object to be marshalled.

Even though MarshallingSource extends from SAXSource, calling the methods of SAXSource is not supported. In general, the only supported operation on this class is to use the XMLReader obtained via #getXMLReader() to parse the input source obtained via . Calling #setXMLReader(XMLReader) or #setInputSource(InputSource) will result in UnsupportedOperationExceptions.

SaxResourceUtils

abstract class SaxResourceUtils

Convenient utility methods for dealing with SAX.