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
ATypeSerializerfor date values.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCALENDAR_TAGTag name of a BigDecimal value.static java.lang.StringDATE_TAGTag name of a date value.private static java.lang.StringEX_CALENDAR_TAGprivate static org.apache.ws.commons.util.XsDateTimeFormatformat-
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 voidwrite(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject)Writes the objectpObjectto the SAX handlerpHandler.-
Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
write, write, write
-
-
-
-
Field Detail
-
format
private static final org.apache.ws.commons.util.XsDateTimeFormat format
-
CALENDAR_TAG
public static final java.lang.String CALENDAR_TAG
Tag name of a BigDecimal value.- See Also:
- Constant Field Values
-
EX_CALENDAR_TAG
private static final java.lang.String EX_CALENDAR_TAG
- See Also:
- Constant Field Values
-
DATE_TAG
public static final java.lang.String DATE_TAG
Tag name of a date value.- See Also:
- Constant Field Values
-
-
Method Detail
-
write
public void write(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject) throws org.xml.sax.SAXExceptionDescription copied from interface:TypeSerializerWrites the objectpObjectto the SAX handlerpHandler.- Parameters:
pHandler- The destination handler.pObject- The object being written.- Throws:
org.xml.sax.SAXException- Writing the object failed.
-
-