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.
Field Summary |
static java.lang.String |
ARRAY_TAG
Tag name of an array value. |
static java.lang.String |
DATA_TAG
Tag name of an arrays data. |
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 pObject)
|
protected void |
writeObject(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARRAY_TAG
public static final java.lang.String ARRAY_TAG
- Tag name of an array value.
- See Also:
- Constant Field Values
DATA_TAG
public static final java.lang.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(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
writeData
protected void writeData(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
write
public void write(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
throws org.xml.sax.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:
org.xml.sax.SAXException
- Writing the object failed.
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.