Package 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
A
TypeSerializer
for object arrays.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Tag name of an array value.private final XmlRpcStreamConfig
static final String
Tag name of an arrays data.private final TypeFactory
Fields inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
VALUE_TAG, ZERO_ATTRIBUTES
-
Constructor Summary
ConstructorsConstructorDescriptionObjectArraySerializer
(TypeFactory pTypeFactory, XmlRpcStreamConfig pConfig) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(ContentHandler pHandler, Object pObject) Writes the objectpObject
to the SAX handlerpHandler
.protected void
writeData
(ContentHandler pHandler, Object pObject) protected void
writeObject
(ContentHandler pHandler, Object pObject) Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
write, write, write
-
Field Details
-
ARRAY_TAG
Tag name of an array value.- See Also:
-
DATA_TAG
Tag name of an arrays data.- See Also:
-
config
-
typeFactory
-
-
Constructor Details
-
ObjectArraySerializer
Creates a new instance.- Parameters:
pTypeFactory
- The factory being used for creating serializers.pConfig
- The configuration being used for creating serializers.
-
-
Method Details
-
writeObject
- Throws:
SAXException
-
writeData
- Throws:
SAXException
-
write
Description copied from interface:TypeSerializer
Writes the objectpObject
to the SAX handlerpHandler
.- Parameters:
pHandler
- The destination handler.pObject
- The object being written.- Throws:
SAXException
- Writing the object failed.
-