BEA Systems, Inc.

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

Because this information documents a Tech Preview of a BEA product, it may be incomplete and is subject to change. Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/essex/TechPreview
Copyright 2007 BEA Systems Inc.