Package org.apache.xmlrpc.serializer
Class DateSerializer
java.lang.Object
org.apache.xmlrpc.serializer.TypeSerializerImpl
org.apache.xmlrpc.serializer.DateSerializer
- All Implemented Interfaces:
TypeSerializer
A
TypeSerializer for date values.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTag name of a date value.private final FormatFields inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
VALUE_TAG, ZERO_ATTRIBUTES -
Constructor Summary
ConstructorsConstructorDescriptionDateSerializer(Format pFormat) Creates a new instance with the given formatter. -
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
-
DATE_TAG
Tag name of a date value.- See Also:
-
format
-
-
Constructor Details
-
DateSerializer
Creates a new instance with the given formatter.
-
-
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.
-