Oracle® Application Server
XML Java API Reference
10g Release 3 (10.1.3)

B28238-01


org.apache.soap.encoding.soapenc
Class VectorSerializer

java.lang.Object
  extended byorg.apache.soap.encoding.soapenc.VectorSerializer

All Implemented Interfaces:
Deserializer, Serializer

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

A VectorSerializer can be used to serialize (but not deserialize) Vectors and Enumerations using the SOAP-ENC encoding style.

This serializer turns Vectors/Enumerations into SOAP arrays.


Constructor Summary
VectorSerializer()

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, SOAPContext ctx)
Bean unmarshall(java.lang.String inScopeEncStyle, QName elementType, Node src, XMLJavaMappingRegistry xjmr, SOAPContext ctx)

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

Constructor Detail

VectorSerializer

public VectorSerializer()

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,
                     SOAPContext ctx)
              throws java.lang.IllegalArgumentException,
                     java.io.IOException
Specified by:
marshall in interface Serializer
Throws:
java.lang.IllegalArgumentException
java.io.IOException

unmarshall

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

Oracle® Application Server
XML Java API Reference
10g Release 3 (10.1.3)

B28238-01


Copyright © 2001 The Apache Software Foundation. All rights reserved.