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 String
Tag name of a date value.private final Format
Fields 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 TypeMethodDescriptionvoid
write
(ContentHandler pHandler, Object pObject) Writes the objectpObject
to 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:TypeSerializer
Writes the objectpObject
to the SAX handlerpHandler
.- Parameters:
pHandler
- The destination handler.pObject
- The object being written.- Throws:
SAXException
- Writing the object failed.
-