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, write
public static final String DATE_TAG
public DateSerializer(Format pFormat)
public void write(ContentHandler pHandler, Object pObject) throws SAXException
TypeSerializer
pObject
to the SAX handler
pHandler
.pHandler
- The destination handler.pObject
- The object being written.SAXException
- Writing the object failed.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.