public class DateSerializer extends TypeSerializerImpl
TypeSerializer for date values.| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_TAG
Tag name of a date value.
|
VALUE_TAG, ZERO_ATTRIBUTES| Constructor and Description |
|---|
DateSerializer(Format pFormat)
Creates a new instance with the given formatter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(ContentHandler pHandler,
Object pObject)
Writes the object
pObject to the SAX handler
pHandler. |
write, write, writepublic static final String DATE_TAG
public DateSerializer(Format pFormat)
public void write(ContentHandler pHandler, Object pObject) throws SAXException
TypeSerializerpObject to the SAX handler
pHandler.pHandler - The destination handler.pObject - The object being written.SAXException - Writing the object failed.Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.