public class DoubleSerializer extends TypeSerializerImpl
TypeSerializer
for doubles.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DOUBLE_TAG
Tag name of a double value.
|
VALUE_TAG, ZERO_ATTRIBUTES
Constructor and Description |
---|
DoubleSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
write(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
Writes the object
pObject to the SAX handler
pHandler . |
write, write, write
public static final java.lang.String DOUBLE_TAG
public void write(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject) throws org.xml.sax.SAXException
TypeSerializer
pObject
to the SAX handler
pHandler
.pHandler
- The destination handler.pObject
- The object being written.org.xml.sax.SAXException
- Writing the object failed.