Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.webservice.encoding
Class AttachmentCodec

    java.lang.Object
      weblogic.webservice.encoding.AbstractCodec
          weblogic.webservice.encoding.AttachmentCodec

All Implemented Interfaces:
  Deserializer, Serializer

Direct Known Subclasses:
  DataHandlerArrayCodec, DataHandlerCodec, ImageArrayCodec, ImageCodec, MimeMultipartCodec, StringAttachmentCodec, XMLSourceArrayCodec, XMLSourceCodec

Deprecated. please migrate to jws for webservices

    public abstract class AttachmentCodec

extends AbstractCodec

Constructor Summary
`AttachmentCodec()` Deprecated.

Method Summary
`protected void` | `addBodyElement(XMLName name, SOAPMessage message)` Deprecated.
`Object` | `deserialize(XMLName name, Attribute att, DeserializationContext context)` Deprecated. Take an XML instance, create and populate the corresponding Object.
`protected Object` | `deserialize(XMLName name, SOAPMessage message, DeserializationContext context)` Deprecated.
`Object` | `deserialize(XMLName name, XMLInputStream reader, DeserializationContext context)` Deprecated. Take an XML instance, create and populate the corresponding Object.
`protected abstract Object` | `deserializeContent(Object content)` Deprecated.
`protected AttachmentPart` | `getAttachmentPart(XMLName name, SOAPMessage message, DeserializationContext context)` Deprecated.
`protected abstract String` | `getContentType()` Deprecated.
`protected void` | `serialize(Object input, XMLName name, SOAPMessage message, SerializationContext context)` Deprecated.
`void` | `serialize(Object obj, XMLName name, XMLOutputStream writer, SerializationContext context)` Deprecated. 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.
`protected abstract Object` | `serializeContent(Object input)` Deprecated.

Methods inherited from class weblogic.webservice.encoding.AbstractCodec
`getDeserializerAs, getMechanismType, getSerializerAs, getSupportedMechanismTypes`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AttachmentCodec

    public AttachmentCodec()

  Deprecated.

Method Detail

### deserialize

    protected Object deserialize(XMLName name,
                                 SOAPMessage message,
                                 DeserializationContext context)
                          throws JAXRPCException

  Deprecated.
  Throws:
    `JAXRPCException`

### deserializeContent

    protected abstract Object deserializeContent(Object content)

  Deprecated.

### addBodyElement

    protected void addBodyElement(XMLName name,
                                  SOAPMessage message)
                           throws SOAPException

  Deprecated.
  Throws:
    `SOAPException`

### serialize

    protected void serialize(Object input,
                             XMLName name,
                             SOAPMessage message,
                             SerializationContext context)
                      throws SOAPFaultException

  Deprecated.
  Throws:
    `SOAPFaultException`

### serializeContent

    protected abstract Object serializeContent(Object input)

  Deprecated.

### getContentType

    protected abstract String getContentType()

  Deprecated.

### getAttachmentPart

    protected AttachmentPart getAttachmentPart(XMLName name,
                                               SOAPMessage message,
                                               DeserializationContext context)

  Deprecated.

### deserialize

    public final Object deserialize(XMLName name,
                                    XMLInputStream reader,
                                    DeserializationContext context)
                             throws DeserializationException

  Deprecated.
  Description copied from interface: `Deserializer`
  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
  Throws:
    `DeserializationException` - If an error occurs

### deserialize

    public final Object deserialize(XMLName name,
                                    Attribute att,
                                    DeserializationContext context)
                             throws DeserializationException

  Deprecated.
  Description copied from interface: `Deserializer`
  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
  Throws:
    `DeserializationException` - If an error occurs

### serialize

    public final void serialize(Object obj,
                                XMLName name,
                                XMLOutputStream writer,
                                SerializationContext context)
                         throws SerializationException

  Deprecated.
  Description copied from interface: `Serializer`
  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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD