org.apache.soap.encoding.soapenc
Class MapSerializer
java.lang.Object
|
+--org.apache.soap.encoding.soapenc.MapSerializer
- All Implemented Interfaces:
- Deserializer, Serializer
- public class MapSerializer
- extends java.lang.Object
- implements Serializer, Deserializer
A MapSerializer
can be used to serialize and deserialize Maps using the SOAP-ENC
encoding style. This is a quick implementation that simply delegates to the HashtableSerializer (which used to be named the MapSerializer).
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 |
MapSerializer
public MapSerializer()
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
-
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
-
java.lang.IllegalArgumentException
Copyright © 2001 The Apache Software Foundation. All rights reserved.