org.springframework.oxm.Unmarshaller |
Known Indirect Subclasses
|
Class Overview
Defines the contract for Object XML Mapping unmarshallers. Implementations of this
interface can deserialize a given XML Stream to an Object graph.
Summary
Public Methods |
abstract
boolean
|
supports(Class<?> clazz)
Indicates whether this unmarshaller can unmarshal instances of the supplied type.
|
abstract
Object
|
unmarshal(Source source)
Unmarshals the given Source into an object graph.
|
Public Methods
public
abstract
boolean
supports
(Class<?> clazz)
Indicates whether this unmarshaller can unmarshal instances of the supplied type.
Parameters
clazz
| the class that this unmarshaller is being asked if it can marshal |
Returns
true
if this unmarshaller can indeed unmarshal to the supplied class;
false
otherwise
public
abstract
Object
unmarshal
(Source source)
Unmarshals the given Source
into an object graph.
Parameters
source
| the source to marshal from |