Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.xml.schema.binding
Interface Serializer

All Known Implementing Classes:
AbstractCodec, AttachmentCodec, DataHandlerArrayCodec, DataHandlerCodec, ImageArrayCodec, ImageCodec, MimeMultipartCodec, SOAPElementCodec, StringAttachmentCodec, XMLSourceArrayCodec, XMLSourceCodec

public interface Serializer

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


Method Summary
 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.
 

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

Copyright 1996, 2010, 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
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04