public interface Deserializer extends Deserializer, DeserializerFactory
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(XMLName name,
Attribute att,
DeserializationContext context)
Take an XML instance, create and populate the corresponding
Object.
|
Object |
deserialize(XMLName name,
XMLInputStream reader,
DeserializationContext context)
Take an XML instance, create and populate the corresponding
Object.
|
getMechanismType
getDeserializerAs, getSupportedMechanismTypes
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 occursObject 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