public class DefaultTypeDecoder extends java.lang.Object implements TypeDecoder
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 |
TypeDecoder| Constructor and Description |
|---|
DefaultTypeDecoder()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isXmlRpcDouble(java.lang.Object o)
Test if a local object translates to a <double> tag.
|
boolean |
isXmlRpcI4(java.lang.Object o)
Test if a local object translates to an <i4> tag.
|
public boolean isXmlRpcI4(java.lang.Object o)
TypeDecoderisXmlRpcI4 in interface TypeDecoderpublic boolean isXmlRpcDouble(java.lang.Object o)
TypeDecoderisXmlRpcDouble in interface TypeDecoderCopyright ? 1999-2002 Apache Software Foundation. All Rights Reserved.