Package org.apache.xmlrpc.serializer
Class StringSerializer
java.lang.Object
org.apache.xmlrpc.serializer.TypeSerializerImpl
org.apache.xmlrpc.serializer.StringSerializer
- All Implemented Interfaces:
TypeSerializer
A
TypeSerializer for strings.-
Field Summary
FieldsFields inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
VALUE_TAG, ZERO_ATTRIBUTES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(ContentHandler pHandler, Object pObject) Writes the objectpObjectto the SAX handlerpHandler.Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
write, write, write
-
Field Details
-
STRING_TAG
(Optional) Tag name of a string value.- See Also:
-
-
Constructor Details
-
StringSerializer
public StringSerializer()
-
-
Method Details
-
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.
-