org.apache.xmlrpc.serializer
Class ObjectArraySerializer
java.lang.Object
org.apache.xmlrpc.serializer.TypeSerializerImpl
org.apache.xmlrpc.serializer.ObjectArraySerializer
- All Implemented Interfaces:
- TypeSerializer
- Direct Known Subclasses:
- ListSerializer
public class ObjectArraySerializer
- extends TypeSerializerImpl
A TypeSerializer
for object arrays.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARRAY_TAG
public static final String ARRAY_TAG
- Tag name of an array value.
- See Also:
- Constant Field Values
DATA_TAG
public static final String DATA_TAG
- Tag name of an arrays data.
- See Also:
- Constant Field Values
ObjectArraySerializer
public ObjectArraySerializer(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.
writeObject
protected void writeObject(ContentHandler pHandler,
Object pObject)
throws SAXException
- Throws:
SAXException
writeData
protected void writeData(ContentHandler pHandler,
Object pObject)
throws SAXException
- Throws:
SAXException
write
public void write(ContentHandler pHandler,
Object pObject)
throws SAXException
- Description copied from interface:
TypeSerializer
- Writes the object
pObject
to the SAX handler
pHandler
.
- Parameters:
pHandler
- The destination handler.pObject
- The object being written.
- Throws:
SAXException
- Writing the object failed.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.