|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlrpc.DefaultTypeDecoder
public class DefaultTypeDecoder
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 |
TypeDecoder| Constructor Summary | |
|---|---|
DefaultTypeDecoder()
Creates a new instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTypeDecoder()
| Method Detail |
|---|
public boolean isXmlRpcI4(java.lang.Object o)
TypeDecoder
isXmlRpcI4 in interface TypeDecoderpublic boolean isXmlRpcDouble(java.lang.Object o)
TypeDecoder
isXmlRpcDouble in interface TypeDecoder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||