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 Serializer

All Superinterfaces:
Serializable, Serializer, SerializerFactory

public interface Serializer
extends Serializer, SerializerFactory

A Serialzer is responsible for taking a java Object and writing a xml instance of some Schema Type.


Method Summary
abstract  void serialize(Object obj, XMLName name, XMLOutputStream writer, SerializationContext context)
          Write the given Object to an XMLOutputSteam, using the information described in the mapping, using the name parameter as the name of the resulting element.

 

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

 

Methods inherited from interface javax.xml.rpc.encoding.SerializerFactory
getSerializerAs, getSupportedMechanismTypes

 

Method Detail

serialize

void serialize(Object obj,
               XMLName name,
               XMLOutputStream writer,
               SerializationContext context)
               throws SerializationException
Write the given Object to an XMLOutputSteam, using the information described in the mapping, using the name parameter as the name of the resulting element. This allows using a general Class <-> ComplexType mapping with full control over the name of the xml element to be written.
Throws:
SerializationException

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