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)
TypeDecoder
isXmlRpcI4
in interface TypeDecoder
public boolean isXmlRpcDouble(java.lang.Object o)
TypeDecoder
isXmlRpcDouble
in interface TypeDecoder
Copyright ? 1999-2002 Apache Software Foundation. All Rights Reserved.