public class FloatSerializer extends TypeSerializerImpl
TypeSerializer
for floats.Modifier and Type | Field and Description |
---|---|
static String |
EX_FLOAT_TAG
Fully qualified name of a float value.
|
static String |
FLOAT_TAG
Tag name of a float value.
|
VALUE_TAG, ZERO_ATTRIBUTES
Constructor and Description |
---|
FloatSerializer() |
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 FLOAT_TAG
public static final String EX_FLOAT_TAG
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.