Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

WebLogic Server 8.1 API Reference

## weblogic.xml.schema.binding
Interface Serializer

All Known Implementing Classes:
  AbstractCodec

public interface Serializer
extends javax.xml.rpc.encoding.Serializer, javax.xml.rpc.encoding.SerializerFactory

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

Author:
  Copyright © 2004 BEA Systems, Inc. All Rights Reserved.

Method Summary
`void` | `serialize(java.lang.Object obj, XMLName name, XMLOutputStream writer, weblogic.xml.schema.binding.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

    public void serialize(java.lang.Object obj,
                          XMLName name,
                          XMLOutputStream writer,
                          weblogic.xml.schema.binding.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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs81
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD