java.lang.Object
org.apache.xmlrpc.DefaultTypeDecoder
- All Implemented Interfaces:
- TypeDecoder
- public class DefaultTypeDecoder
- extends java.lang.Object
- implements TypeDecoder
The default implementation of the TypeDecoder
interface. Provides the following mappings:
| XML-RPC data type | Java class |
| <i4> or <int> | java.lang.Integer |
| <double> | java.lang.Double, java.lang.Float |
- Since:
- 1.2
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTypeDecoder
public DefaultTypeDecoder()
- Creates a new instance.
isXmlRpcI4
public boolean isXmlRpcI4(java.lang.Object o)
- Description copied from interface:
TypeDecoder
- Test if a local object translates to an <i4> tag.
- Specified by:
isXmlRpcI4 in interface TypeDecoder
isXmlRpcDouble
public boolean isXmlRpcDouble(java.lang.Object o)
- Description copied from interface:
TypeDecoder
- Test if a local object translates to a <double> tag.
- Specified by:
isXmlRpcDouble in interface TypeDecoder