|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlrpc.serializer.TypeSerializerImpl org.apache.xmlrpc.serializer.MapSerializer
public class MapSerializer
A TypeSerializer
for maps.
Field Summary | |
---|---|
static java.lang.String |
MEMBER_TAG
Tag name of a maps member tag. |
static java.lang.String |
NAME_TAG
Tag name of a maps members name tag. |
static java.lang.String |
STRUCT_TAG
Tag name of a maps struct tag. |
Fields inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl |
---|
VALUE_TAG, ZERO_ATTRIBUTES |
Constructor Summary | |
---|---|
MapSerializer(TypeFactory pTypeFactory,
XmlRpcStreamConfig pConfig)
Creates a new instance. |
Method Summary | |
---|---|
void |
write(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
Writes the object pObject to the SAX handler
pHandler . |
protected void |
writeData(org.xml.sax.ContentHandler pHandler,
java.lang.Object pData)
|
protected void |
writeEntry(org.xml.sax.ContentHandler pHandler,
java.lang.Object pKey,
java.lang.Object pValue)
|
Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl |
---|
write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STRUCT_TAG
public static final java.lang.String MEMBER_TAG
public static final java.lang.String NAME_TAG
Constructor Detail |
---|
public MapSerializer(TypeFactory pTypeFactory, XmlRpcStreamConfig pConfig)
pTypeFactory
- The factory being used for creating serializers.pConfig
- The configuration being used for creating serializers.Method Detail |
---|
protected void writeEntry(org.xml.sax.ContentHandler pHandler, java.lang.Object pKey, java.lang.Object pValue) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void writeData(org.xml.sax.ContentHandler pHandler, java.lang.Object pData) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void write(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject) throws org.xml.sax.SAXException
TypeSerializer
pObject
to the SAX handler
pHandler
.
pHandler
- The destination handler.pObject
- The object being written.
org.xml.sax.SAXException
- Writing the object failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |