public interface Deserializer
extends javax.xml.rpc.encoding.Deserializer, javax.xml.rpc.encoding.DeserializerFactory
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(XMLName name,
Attribute att,
DeserializationContext context)
Take an XML instance, create and populate the corresponding
Object.
|
java.lang.Object |
deserialize(XMLName name,
XMLInputStream reader,
DeserializationContext context)
Take an XML instance, create and populate the corresponding
Object.
|
java.lang.Object deserialize(XMLName name, XMLInputStream reader, DeserializationContext context) throws DeserializationException
deserialize
may be called recusively as
needed to build contained Objects thus building up the full
graph of contained Objects.name
- The expected name of the XML elementreader
- The XML stream containing the XML to deserializecontext
- The context passed to each invocationDeserializationException
- If an error occursjava.lang.Object deserialize(XMLName name, Attribute att, DeserializationContext context) throws DeserializationException
deserialize
may be called recusively as
needed to build contained Objects thus building up the full
graph of contained Objects.name
- The expected name of the XML elementatt
- The attribute containing the value to deserializecontext
- The context passed to each invocationDeserializationException
- If an error occurs