BEA Systems, Inc.

weblogic.webservice.encoding
Class AttachmentCodec

java.lang.Object
  extended by weblogic.webservice.encoding.AbstractCodec
      extended by weblogic.webservice.encoding.AttachmentCodec
All Implemented Interfaces:
Serializable, Deserializer, DeserializerFactory, Serializer, SerializerFactory
Direct Known Subclasses:
DataHandlerArrayCodec, DataHandlerCodec, ImageArrayCodec, ImageCodec, MimeMultipartCodec, StringAttachmentCodec, XMLSourceArrayCodec, XMLSourceCodec

Deprecated. please migrate to jws for webservices

public abstract class AttachmentCodec
extends AbstractCodec

See Also:
Serialized Form

Constructor Summary
AttachmentCodec()
          Deprecated.  
 
Method Summary
protected  void addBodyElement(weblogic.xml.stream.XMLName name, SOAPMessage message)
          Deprecated.  
 Object deserialize(weblogic.xml.stream.XMLName name, weblogic.xml.stream.Attribute att, DeserializationContext context)
          Deprecated.  
protected  Object deserialize(weblogic.xml.stream.XMLName name, SOAPMessage message, DeserializationContext context)
          Deprecated.  
 Object deserialize(weblogic.xml.stream.XMLName name, weblogic.xml.stream.XMLInputStream reader, DeserializationContext context)
          Deprecated.  
protected abstract  Object deserializeContent(Object content)
          Deprecated.  
protected  AttachmentPart getAttachmentPart(weblogic.xml.stream.XMLName name, SOAPMessage message, DeserializationContext context)
          Deprecated.  
protected abstract  String getContentType()
          Deprecated.  
protected  void serialize(Object input, weblogic.xml.stream.XMLName name, SOAPMessage message, SerializationContext context)
          Deprecated.  
 void serialize(Object obj, weblogic.xml.stream.XMLName name, weblogic.xml.stream.XMLOutputStream writer, SerializationContext context)
          Deprecated.  
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(weblogic.xml.stream.XMLName name,
                             SOAPMessage message,
                             DeserializationContext context)
                      throws JAXRPCException
Deprecated. 
Throws:
JAXRPCException

deserializeContent

protected abstract Object deserializeContent(Object content)
Deprecated. 

addBodyElement

protected void addBodyElement(weblogic.xml.stream.XMLName name,
                              SOAPMessage message)
                       throws SOAPException
Deprecated. 
Throws:
SOAPException

serialize

protected void serialize(Object input,
                         weblogic.xml.stream.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(weblogic.xml.stream.XMLName name,
                                           SOAPMessage message,
                                           DeserializationContext context)
Deprecated. 

deserialize

public final Object deserialize(weblogic.xml.stream.XMLName name,
                                weblogic.xml.stream.XMLInputStream reader,
                                DeserializationContext context)
                         throws DeserializationException
Deprecated. 
Throws:
DeserializationException

deserialize

public final Object deserialize(weblogic.xml.stream.XMLName name,
                                weblogic.xml.stream.Attribute att,
                                DeserializationContext context)
                         throws DeserializationException
Deprecated. 
Throws:
DeserializationException

serialize

public final void serialize(Object obj,
                            weblogic.xml.stream.XMLName name,
                            weblogic.xml.stream.XMLOutputStream writer,
                            SerializationContext context)
                     throws SerializationException
Deprecated. 
Throws:
SerializationException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.