org.apache.soap.encoding.soapenc
Class Base64Serializer

java.lang.Object
  |
  +--org.apache.soap.encoding.soapenc.Base64Serializer
All Implemented Interfaces:
Deserializer, Serializer

public class Base64Serializer
extends java.lang.Object
implements Serializer, Deserializer

A Base64Serializer is used to serialize and deserialize byte arrays using the SOAP-ENC encoding style. The byte arrays are encoded using the SOAP-ENC:base64 subtype.

Author:
Matthew J. Duftler (duftler@us.ibm.com)

Constructor Summary
Base64Serializer()
           
 
Method Summary
 void marshall(java.lang.String inScopeEncStyle, java.lang.Class javaType, java.lang.Object src, java.lang.Object context, java.io.Writer sink, NSStack nsStack, XMLJavaMappingRegistry xjmr)
           
 Bean unmarshall(java.lang.String inScopeEncStyle, QName elementType, org.w3c.dom.Node src, XMLJavaMappingRegistry xjmr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64Serializer

public Base64Serializer()
Method Detail

marshall

public void marshall(java.lang.String inScopeEncStyle,
                     java.lang.Class javaType,
                     java.lang.Object src,
                     java.lang.Object context,
                     java.io.Writer sink,
                     NSStack nsStack,
                     XMLJavaMappingRegistry xjmr)
              throws java.lang.IllegalArgumentException,
                     java.io.IOException
Specified by:
marshall in interface Serializer

unmarshall

public Bean unmarshall(java.lang.String inScopeEncStyle,
                       QName elementType,
                       org.w3c.dom.Node src,
                       XMLJavaMappingRegistry xjmr)
                throws java.lang.IllegalArgumentException
Specified by:
unmarshall in interface Deserializer


Copyright © 2001 Oracle SOAP. All Rights Reserved.