|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Unmarshaller
Defines the contract for Object XML Mapping unmarshallers.
Implementations of this interface can deserialize a given XML Stream to an Object graph.
| Method Summary | |
|---|---|
boolean |
supports(java.lang.Class clazz)
Indicates whether this unmarshaller can unmarshal instances of the supplied type. |
java.lang.Object |
unmarshal(javax.xml.transform.Source source)
Unmarshals the given Source into an object graph. |
| Method Detail |
|---|
java.lang.Object unmarshal(javax.xml.transform.Source source)
throws XmlMappingException,
java.io.IOException
Source into an object graph.
source - the source to marshal from
XmlMappingException - if the given source cannot be mapped to an object
java.io.IOException - if an I/O Exception occursboolean supports(java.lang.Class clazz)
clazz - the class that this unmarshaller is being asked if it can marshal
true if this unmarshaller can indeed unmarshal to the supplied class; false
otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||