org.apache.xmlrpc.serializer

Class DateSerializer

Implemented Interfaces:
TypeSerializer

public class DateSerializer
extends TypeSerializerImpl

A TypeSerializer for date values.

Field Summary

static String
DATE_TAG
Tag name of a date value.

Fields inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl

VALUE_TAG, ZERO_ATTRIBUTES

Constructor Summary

DateSerializer(Format pFormat)
Creates a new instance with the given formatter.

Method Summary

void
write(ContentHandler pHandler, Object pObject)
Writes the object pObject to the SAX handler pHandler.

Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl

write, write, write

Field Details

DATE_TAG

public static final String DATE_TAG
Tag name of a date value.

Constructor Details

DateSerializer

public DateSerializer(Format pFormat)
Creates a new instance with the given formatter.

Method Details

write

public void write(ContentHandler pHandler,
                  Object pObject)
            throws SAXException
Writes the object pObject to the SAX handler pHandler.
Specified by:
write in interface TypeSerializer
Parameters:
pHandler - The destination handler.
pObject - The object being written.

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.