public class ObjectArraySerializer extends TypeSerializerImpl
TypeSerializer for object arrays.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ARRAY_TAG
Tag name of an array value.
|
static java.lang.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(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 pObject) |
protected void |
writeObject(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject) |
write, write, writepublic static final java.lang.String ARRAY_TAG
public static final java.lang.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(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected void writeData(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void write(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
throws org.xml.sax.SAXException
TypeSerializerpObject to the SAX handler
pHandler.pHandler - The destination handler.pObject - The object being written.org.xml.sax.SAXException - Writing the object failed.Copyright © 2001–2017. All rights reserved.