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 StringTag name of an array value.private final XmlRpcStreamConfigstatic final StringTag name of an arrays data.private final TypeFactoryFields inherited from class TypeSerializerImpl
VALUE_TAG, ZERO_ATTRIBUTES -
Constructor Summary
ConstructorsConstructorDescriptionObjectArraySerializer(TypeFactory pTypeFactory, XmlRpcStreamConfig pConfig) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(ContentHandler pHandler, Object pObject) Writes the objectpObjectto the SAX handlerpHandler.protected voidwriteData(ContentHandler pHandler, Object pObject) protected voidwriteObject(ContentHandler pHandler, Object pObject) Methods inherited from class TypeSerializerImpl
write, write, write
-
Field Details
-
ARRAY_TAG
-
DATA_TAG
-
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:TypeSerializerWrites the objectpObjectto the SAX handlerpHandler.- Parameters:
pHandler- The destination handler.pObject- The object being written.- Throws:
SAXException- Writing the object failed.
-