Package org.apache.xmlrpc.serializer
Class FloatSerializer
- java.lang.Object
-
- org.apache.xmlrpc.serializer.TypeSerializerImpl
-
- org.apache.xmlrpc.serializer.FloatSerializer
-
- All Implemented Interfaces:
TypeSerializer
public class FloatSerializer extends TypeSerializerImpl
ATypeSerializer
for floats.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EX_FLOAT_TAG
Fully qualified name of a float value.static java.lang.String
FLOAT_TAG
Tag name of a float value.-
Fields inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
VALUE_TAG, ZERO_ATTRIBUTES
-
-
Constructor Summary
Constructors Constructor Description FloatSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject)
Writes the objectpObject
to the SAX handlerpHandler
.-
Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
write, write, write
-
-
-
-
Field Detail
-
FLOAT_TAG
public static final java.lang.String FLOAT_TAG
Tag name of a float value.- See Also:
- Constant Field Values
-
EX_FLOAT_TAG
public static final java.lang.String EX_FLOAT_TAG
Fully qualified name of a float 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.SAXException
Description copied from interface:TypeSerializer
Writes the objectpObject
to the SAX handlerpHandler
.- Parameters:
pHandler
- The destination handler.pObject
- The object being written.- Throws:
org.xml.sax.SAXException
- Writing the object failed.
-
-