|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface XmlRpc
Annotation which indicates that a type can be used in a XML-RPC transfer.
It defines how to convert type instances to and from a XML-RPC representation.
There are four types of conversion:
Convertible interface. This adds the toXmlRpc()Convertible interface. Use the concrete() field to
declare the concrete implementation class.converter() to set the converter class. The conveter needs a
public noarg constructor and must implement the ParameterConverter interface.
XmlRpcBean,
ConverterMappings| Required Element Summary | |
|---|---|
XmlRpc.Type |
type
The XML-RPC type this parameter is mapped to. |
| Optional Element Summary | |
|---|---|
java.lang.Class<? extends Convertible<?>> |
concrete
The concrete class performs the type conversions⋅ The concrete class has to be a subclass of the parameter type. |
java.lang.Class<? extends ParameterConverter<?,?>> |
converter
A separate converter to do the parameter conversion⋅ The converter needs a public noarg constructor and must implement the ParameterConverter interface. |
| Element Detail |
|---|
public abstract XmlRpc.Type type
public abstract java.lang.Class<? extends Convertible<?>> concrete
Convertible interface.
public abstract java.lang.Class<? extends ParameterConverter<?,?>> converter
ParameterConverter interface.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||