public class MapSerializer extends Object implements Serializer
MapSerializer is be used to serialize and
deserialize Maps using the SOAP-ENC
encoding style.| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
MapSerializer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMechanismType()
Gets the type of the XML processing mechanism and representation used by this Serializer.
|
void |
serialize(QName name,
Attributes attributes,
Object value,
SerializationContext context)
Serialize a Map
Walk the collection of keys, serializing each key/value pair
inside an
|
Element |
writeSchema(Class javaType,
Types types)
Return XML schema for the specified type, suitable for insertion into
the <types> element of a WSDL document, or underneath an
<element> or <attribute> declaration.
|
public void serialize(QName name, Attributes attributes, Object value, SerializationContext context) throws IOException
name - the desired QName for the elementattributes - the desired attributes for the elementvalue - the Object to serializecontext - the SerializationContext in which to do all thisIOExceptionpublic String getMechanismType()
SerializergetMechanismType in interface SerializerCopyright © The Apache Software Foundation. All Rights Reserved.