org.apache.xmlrpc.serializer
Class DateSerializer

java.lang.Object
  extended by org.apache.xmlrpc.serializer.TypeSerializerImpl
      extended by org.apache.xmlrpc.serializer.DateSerializer
All Implemented Interfaces:
TypeSerializer

public class DateSerializer
extends TypeSerializerImpl

A TypeSerializer for date values.


Field Summary
static java.lang.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(java.text.Format pFormat)
          Creates a new instance with the given formatter.
 
Method Summary
 void write(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject)
          Writes the object pObject to the SAX handler pHandler.
 
Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_TAG

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

See Also:
Constant Field Values
Constructor Detail

DateSerializer

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

Method Detail

write

public void write(org.xml.sax.ContentHandler pHandler,
                  java.lang.Object pObject)
           throws org.xml.sax.SAXException
Description copied from interface: TypeSerializer
Writes the object pObject to the SAX handler pHandler.

Parameters:
pHandler - The destination handler.
pObject - The object being written.
Throws:
org.xml.sax.SAXException - Writing the object failed.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.