Package org.apache.xmlrpc.serializer
Class CalendarSerializer
- java.lang.Object
-
- org.apache.xmlrpc.serializer.TypeSerializerImpl
-
- org.apache.xmlrpc.serializer.CalendarSerializer
-
- All Implemented Interfaces:
TypeSerializer
public class CalendarSerializer extends TypeSerializerImpl
ATypeSerializer
for date values.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CALENDAR_TAG
Tag name of a BigDecimal value.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
Constructors Constructor Description CalendarSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
CALENDAR_TAG
public static final String CALENDAR_TAG
Tag name of a BigDecimal value.- See Also:
- Constant Field Values
-
DATE_TAG
public static final String DATE_TAG
Tag name of a date value.- See Also:
- Constant Field Values
-
-
Method Detail
-
write
public void write(ContentHandler pHandler, Object pObject) throws SAXException
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.
-
-