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, write
public 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
SAXException
protected void writeData(ContentHandler pHandler, Object pObject) throws SAXException
SAXException
public void write(ContentHandler pHandler, Object pObject) throws SAXException
TypeSerializer
pObject
to the SAX handler
pHandler
.pHandler
- The destination handler.pObject
- The object being written.SAXException
- Writing the object failed.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.