public class ObjectArraySerializer extends TypeSerializerImpl
TypeSerializer for object arrays.| Modifier and Type | Field and Description |
|---|---|
static String |
ARRAY_TAG
Tag name of an array value.
|
static String |
DATA_TAG
Tag name of an arrays data.
|
VALUE_TAG, ZERO_ATTRIBUTES| Constructor and Description |
|---|
ObjectArraySerializer(TypeFactory pTypeFactory,
XmlRpcStreamConfig pConfig)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(ContentHandler pHandler,
Object pObject)
Writes the object
pObject to the SAX handler
pHandler. |
protected void |
writeData(ContentHandler pHandler,
Object pObject) |
protected void |
writeObject(ContentHandler pHandler,
Object pObject) |
write, write, writepublic static final String ARRAY_TAG
public static final String DATA_TAG
public ObjectArraySerializer(TypeFactory pTypeFactory, XmlRpcStreamConfig pConfig)
pTypeFactory - The factory being used for creating serializers.pConfig - The configuration being used for creating serializers.protected void writeObject(ContentHandler pHandler, Object pObject) throws SAXException
SAXExceptionprotected void writeData(ContentHandler pHandler, Object pObject) throws SAXException
SAXExceptionpublic void write(ContentHandler pHandler, Object pObject) throws SAXException
TypeSerializerpObject to the SAX handler
pHandler.pHandler - The destination handler.pObject - The object being written.SAXException - Writing the object failed.Copyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.