Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.xml.schema.binding
Interface Deserializer

All Superinterfaces:
Deserializer, DeserializerFactory, Serializable

public interface Deserializer
extends Deserializer, DeserializerFactory

A Deserialzer is responsible for taking an xml instance of some Schema Type and creating and populating a corresponding Java Object.


Method Summary
abstract  Object deserialize(XMLName name, Attribute att, DeserializationContext context)
          Take an XML instance, create and populate the corresponding Object.
abstract  Object deserialize(XMLName name, XMLInputStream reader, DeserializationContext context)
          Take an XML instance, create and populate the corresponding Object.

 

Methods inherited from interface javax.xml.rpc.encoding.Deserializer
getMechanismType

 

Methods inherited from interface javax.xml.rpc.encoding.DeserializerFactory
getDeserializerAs, getSupportedMechanismTypes

 

Method Detail

deserialize

Object deserialize(XMLName name,
                   XMLInputStream reader,
                   DeserializationContext context)
                   throws DeserializationException
Take an XML instance, create and populate the corresponding Object. deserialize may be called recusively as needed to build contained Objects thus building up the full graph of contained Objects.
Parameters:
name - The expected name of the XML element
reader - The XML stream containing the XML to deserialize
context - The context passed to each invocation
Throws:
DeserializationException - If an error occurs

deserialize

Object deserialize(XMLName name,
                   Attribute att,
                   DeserializationContext context)
                   throws DeserializationException
Take an XML instance, create and populate the corresponding Object. deserialize may be called recusively as needed to build contained Objects thus building up the full graph of contained Objects.
Parameters:
name - The expected name of the XML element
att - The attribute containing the value to deserialize
context - The context passed to each invocation
Throws:
DeserializationException - If an error occurs

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09