org.apache.xmlrpc.serializer

Class MapSerializer

public class MapSerializer extends TypeSerializerImpl

A {@link TypeSerializer} for maps.
Field Summary
static StringMEMBER_TAG
Tag name of a maps member tag.
static StringNAME_TAG
Tag name of a maps members name tag.
static StringSTRUCT_TAG
Tag name of a maps struct tag.
Constructor Summary
MapSerializer(TypeFactory pTypeFactory, XmlRpcStreamConfig pConfig)
Creates a new instance.
Method Summary
voidwrite(ContentHandler pHandler, Object pObject)
protected voidwriteData(ContentHandler pHandler, Object pData)
protected voidwriteEntry(ContentHandler pHandler, String pKey, Object pValue)

Field Detail

MEMBER_TAG

public static final String MEMBER_TAG
Tag name of a maps member tag.

NAME_TAG

public static final String NAME_TAG
Tag name of a maps members name tag.

STRUCT_TAG

public static final String STRUCT_TAG
Tag name of a maps struct tag.

Constructor Detail

MapSerializer

public MapSerializer(TypeFactory pTypeFactory, XmlRpcStreamConfig pConfig)
Creates a new instance.

Parameters: pTypeFactory The factory being used for creating serializers. pConfig The configuration being used for creating serializers.

Method Detail

write

public void write(ContentHandler pHandler, Object pObject)

writeData

protected void writeData(ContentHandler pHandler, Object pData)

writeEntry

protected void writeEntry(ContentHandler pHandler, String pKey, Object pValue)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.